Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp

Issue 1407543003: Preliminary paint property walk implementation for SPv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert forAllFrameViews change in FrameView.cpp. I don't know what I was thinking. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "core/layout/LayoutTestHelper.h" 6 #include "core/layout/LayoutTestHelper.h"
7 7
8 #include "core/loader/EmptyClients.h" 8 #include "core/loader/EmptyClients.h"
9 #include "platform/graphics/GraphicsLayer.h" 9 #include "platform/graphics/GraphicsLayer.h"
10 #include "platform/graphics/GraphicsLayerFactory.h" 10 #include "platform/graphics/GraphicsLayerFactory.h"
(...skipping 25 matching lines...) Expand all
36 fillWithEmptyClients(pageClients); 36 fillWithEmptyClients(pageClients);
37 DEFINE_STATIC_LOCAL(OwnPtrWillBePersistent<FakeChromeClient>, chromeClient, (FakeChromeClient::create())); 37 DEFINE_STATIC_LOCAL(OwnPtrWillBePersistent<FakeChromeClient>, chromeClient, (FakeChromeClient::create()));
38 pageClients.chromeClient = chromeClient.get(); 38 pageClients.chromeClient = chromeClient.get();
39 m_pageHolder = DummyPageHolder::create(IntSize(800, 600), &pageClients, null ptr, settingOverrider()); 39 m_pageHolder = DummyPageHolder::create(IntSize(800, 600), &pageClients, null ptr, settingOverrider());
40 40
41 // This ensures that the minimal DOM tree gets attached 41 // This ensures that the minimal DOM tree gets attached
42 // correctly for tests that don't call setBodyInnerHTML. 42 // correctly for tests that don't call setBodyInnerHTML.
43 document().view()->updateAllLifecyclePhases(); 43 document().view()->updateAllLifecyclePhases();
44 } 44 }
45 45
46 void RenderingTest::TearDown()
47 {
48 // We need to destroy most of the Blink structure here because derived tests may restore
49 // RuntimeEnabledFeatures setting during teardown, which happens before our destructor
50 // getting invoked, breaking the assumption that REF can't change during Bli nk lifetime.
51 m_pageHolder = nullptr;
52 }
46 53
47 } // namespace blink 54 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTestHelper.h ('k') | third_party/WebKit/Source/core/paint/ObjectPaintProperties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698