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

Unified Diff: third_party/WebKit/Source/core/paint/StubChromeClientForSPv2.h

Issue 2307143002: Remove non-layer-list codepath from PaintArtifactCompositor (Closed)
Patch Set: Fix crash during shutdown exposed by refactoring Created 4 years, 3 months 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/paint/StubChromeClientForSPv2.h
diff --git a/third_party/WebKit/Source/core/paint/StubChromeClientForSPv2.h b/third_party/WebKit/Source/core/paint/StubChromeClientForSPv2.h
index 9160b4d7b2572dc1e4b2c920f511e02bea566346..48428336eba5be22bf9d337500f737b3c7fc2d07 100644
--- a/third_party/WebKit/Source/core/paint/StubChromeClientForSPv2.h
+++ b/third_party/WebKit/Source/core/paint/StubChromeClientForSPv2.h
@@ -14,10 +14,10 @@ namespace blink {
// A simple ChromeClient implementation which forwards painted artifacts to a
// PaintArtifactCompositor attached to a testing WebLayerTreeView, and permits
// simple analysis of the results.
-class StubChromeClientForSPv2 : public EmptyChromeClient {
+class StubChromeClientForSPv2
+ : public EmptyChromeClient {
jbroman 2016/09/04 20:27:11 super-nit: why wrap this?
pdr. 2016/09/05 01:28:19 This was just a mistake, fixed.
public:
- StubChromeClientForSPv2(WebLayerTreeViewImplForTesting::LayerListPolicy layerListPolicy)
- : m_layerTreeView(layerListPolicy)
+ StubChromeClientForSPv2() : m_layerTreeView()
{
m_layerTreeView.setRootLayer(*m_paintArtifactCompositor.getWebLayer());
}

Powered by Google App Engine
This is Rietveld 408576698