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

Unified Diff: Source/core/paint/DisplayItemListPaintTest.h

Issue 1355753008: RuntimeEnabledFeatures::slimmingPaintOffsetCaching (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/layout/LayoutObject.cpp ('k') | Source/core/paint/LayoutObjectDrawingRecorder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/DisplayItemListPaintTest.h
diff --git a/Source/core/paint/DisplayItemListPaintTest.h b/Source/core/paint/DisplayItemListPaintTest.h
index 2990a86a9bcfe647609214bdeec74ce8711674e9..aef8a20a9ea9b85ecba89fa2f5b49a51994677f1 100644
--- a/Source/core/paint/DisplayItemListPaintTest.h
+++ b/Source/core/paint/DisplayItemListPaintTest.h
@@ -18,6 +18,7 @@ class DisplayItemListPaintTest : public RenderingTest {
public:
DisplayItemListPaintTest()
: m_originalSlimmingPaintSubsequenceCachingEnabled(RuntimeEnabledFeatures::slimmingPaintSubsequenceCachingEnabled())
+ , m_originalSlimmingPaintOffsetCachingEnabled(RuntimeEnabledFeatures::slimmingPaintOffsetCachingEnabled())
{ }
protected:
@@ -33,9 +34,11 @@ private:
void TearDown() override
{
RuntimeEnabledFeatures::setSlimmingPaintSubsequenceCachingEnabled(m_originalSlimmingPaintSubsequenceCachingEnabled);
+ RuntimeEnabledFeatures::setSlimmingPaintOffsetCachingEnabled(m_originalSlimmingPaintOffsetCachingEnabled);
}
bool m_originalSlimmingPaintSubsequenceCachingEnabled;
+ bool m_originalSlimmingPaintOffsetCachingEnabled;
};
// Slimming paint v2 has subtly different behavior on some paint tests. This
« no previous file with comments | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/paint/LayoutObjectDrawingRecorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698