| Index: third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp b/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
|
| index 0ea264d7f1089ddaa3520da0ec8e539c4c961eaa..8935433e00ae5b61cbe2361cdab170bedb2df43d 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
|
| @@ -17,8 +17,8 @@
|
| {
|
| Page::PageClients pageClients;
|
| fillWithEmptyClients(pageClients);
|
| - DEFINE_STATIC_LOCAL(EmptyChromeClient, chromeClient, (EmptyChromeClient::create()));
|
| - pageClients.chromeClient = &chromeClient;
|
| + DEFINE_STATIC_LOCAL(Persistent<EmptyChromeClient>, chromeClient, (EmptyChromeClient::create()));
|
| + pageClients.chromeClient = chromeClient.get();
|
| m_pageHolder = DummyPageHolder::create(IntSize(800, 600), &pageClients, m_frameLoaderClient.release(), settingOverrider());
|
|
|
| Settings::setMockScrollbarsEnabled(true);
|
|
|