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

Unified Diff: Source/platform/graphics/GraphicsLayer.h

Issue 1329553004: Add a FOUC painting test. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix build. Created 5 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
« no previous file with comments | « Source/core/loader/DocumentLoader.cpp ('k') | Source/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/GraphicsLayer.h
diff --git a/Source/platform/graphics/GraphicsLayer.h b/Source/platform/graphics/GraphicsLayer.h
index 22dd3c4856bd6c8a005b0a862d7b6958c4642952..88cbd419fbcdd72426de2019fb26c5464678292f 100644
--- a/Source/platform/graphics/GraphicsLayer.h
+++ b/Source/platform/graphics/GraphicsLayer.h
@@ -220,6 +220,7 @@ public:
bool isTrackingPaintInvalidations() const { return m_client->isTrackingPaintInvalidations(); }
void resetTrackedPaintInvalidations();
+ bool hasTrackedPaintInvalidations() const;
void trackPaintInvalidationRect(const FloatRect&);
void trackPaintInvalidationObject(const String&);
@@ -252,6 +253,9 @@ public:
// Exposed for tests.
virtual WebLayer* contentsLayer() const { return m_contentsLayer; }
+ static void setDrawDebugRedFillForTesting(bool);
+ ContentLayerDelegate* contentLayerDelegateForTesting() const { return m_contentLayerDelegate.get(); }
+
#ifndef NDEBUG
DisplayItemClient displayItemClient() const { return toDisplayItemClient(this); }
String debugName() const { return m_client->debugName(this) + " debug red fill"; }
« no previous file with comments | « Source/core/loader/DocumentLoader.cpp ('k') | Source/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698