Index: Source/core/frame/Frame.cpp |
diff --git a/Source/core/frame/Frame.cpp b/Source/core/frame/Frame.cpp |
index 965d5c46c46547fcce57d89923a2aebe87d07ac2..6a1fdbc235c7e95c1059485ba8ba14ccb878cdda 100644 |
--- a/Source/core/frame/Frame.cpp |
+++ b/Source/core/frame/Frame.cpp |
@@ -150,8 +150,8 @@ HTMLFrameOwnerElement* Frame::deprecatedLocalOwner() const |
static ChromeClient& emptyChromeClient() |
{ |
- DEFINE_STATIC_LOCAL(EmptyChromeClient, client, ()); |
- return client; |
+ DEFINE_STATIC_LOCAL(OwnPtrWillBePersistent<EmptyChromeClient>, client, (EmptyChromeClient::create())); |
+ return *client; |
} |
ChromeClient& Frame::chromeClient() const |