Index: third_party/WebKit/Source/core/loader/EmptyClients.cpp |
diff --git a/third_party/WebKit/Source/core/loader/EmptyClients.cpp b/third_party/WebKit/Source/core/loader/EmptyClients.cpp |
index decc95742b68407beab73c13b9b8e16e3e90b40c..94e8e6cdfc1e13a8e00503fa1ef65a8e5ffbb01e 100644 |
--- a/third_party/WebKit/Source/core/loader/EmptyClients.cpp |
+++ b/third_party/WebKit/Source/core/loader/EmptyClients.cpp |
@@ -45,8 +45,8 @@ namespace blink { |
void fillWithEmptyClients(Page::PageClients& pageClients) |
{ |
- DEFINE_STATIC_LOCAL(Persistent<ChromeClient>, dummyChromeClient, (EmptyChromeClient::create())); |
- pageClients.chromeClient = dummyChromeClient.get(); |
+ DEFINE_STATIC_LOCAL(ChromeClient, dummyChromeClient, (EmptyChromeClient::create())); |
+ pageClients.chromeClient = &dummyChromeClient; |
DEFINE_STATIC_LOCAL(EmptyContextMenuClient, dummyContextMenuClient, ()); |
pageClients.contextMenuClient = &dummyContextMenuClient; |