Skip to content

Commit c7b81f2

Browse files
committed
Merge pull request nwjs#950 from kingFighter/mac
Fix build errors on Mac
2 parents a329827 + 860f7f6 commit c7b81f2

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/api/menu/menu_mac.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080

8181
{
8282
// Make sure events can be pumped while the menu is up.
83-
MessageLoop::ScopedNestableTaskAllower allow(MessageLoop::current());
83+
base::MessageLoop::ScopedNestableTaskAllower allow(base::MessageLoop::current());
8484

8585
// One of the events that could be pumped is |window.close()|.
8686
// User-initiated event-tracking loops protect against this by

src/browser/shell_application_mac.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#ifndef CONTENT_NW_SRC_BROWSER_SHELL_APPLICATION_MAC_H_
66
#define CONTENT_NW_SRC_BROWSER_SHELL_APPLICATION_MAC_H_
77

8-
#include "base/message_pump_mac.h"
8+
#include "base/message_loop/message_pump_mac.h"
99
#include "base/mac/scoped_sending_event.h"
1010

1111
@interface ShellCrApplication : NSApplication<CrAppProtocol,

src/browser/shell_download_manager_delegate_mac.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include "base/files/file_path.h"
2929
#include "base/logging.h"
3030
#include "base/string_util.h"
31-
#include "base/utf_string_conversions.h"
31+
#include "base/strings/utf_string_conversions.h"
3232
#include "content/public/browser/browser_context.h"
3333
#include "content/public/browser/browser_thread.h"
3434
#include "content/public/browser/download_manager.h"

src/renderer/printing/print_web_view_helper_mac.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
#include "printing/page_size_margins.h"
1717
#include "skia/ext/platform_device.h"
1818
#include "skia/ext/vector_canvas.h"
19-
#include "third_party/WebKit/Source/Platform/chromium/public/WebCanvas.h"
20-
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
19+
#include "third_party/WebKit/public/platform/WebCanvas.h"
20+
#include "third_party/WebKit/public/web/WebFrame.h"
2121

2222
namespace printing {
2323

0 commit comments

Comments
 (0)