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

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: Clean up. 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
Index: Source/platform/graphics/GraphicsLayer.h
diff --git a/Source/platform/graphics/GraphicsLayer.h b/Source/platform/graphics/GraphicsLayer.h
index 22dd3c4856bd6c8a005b0a862d7b6958c4642952..efb150fd7b219979c13275ea3ae087a0f7686052 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,8 @@ public:
// Exposed for tests.
virtual WebLayer* contentsLayer() const { return m_contentsLayer; }
+ 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"; }

Powered by Google App Engine
This is Rietveld 408576698