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

Unified Diff: Source/core/paint/SubtreeRecorder.cpp

Issue 1018053003: Remove blink::RuntimeEnabledFeatures::slimmingPaintDisplayItemCache (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 9 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/paint/LayoutObjectDrawingRecorderTest.cpp ('k') | Source/core/paint/ViewDisplayListTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/SubtreeRecorder.cpp
diff --git a/Source/core/paint/SubtreeRecorder.cpp b/Source/core/paint/SubtreeRecorder.cpp
index f79c7bf131759dc84aa147ed3b4cb1096e5ddb53..1a1702109a06ff8377be2c71736633cae74fcc5f 100644
--- a/Source/core/paint/SubtreeRecorder.cpp
+++ b/Source/core/paint/SubtreeRecorder.cpp
@@ -19,7 +19,7 @@ SubtreeRecorder::SubtreeRecorder(GraphicsContext* context, const LayoutObject& s
, m_paintPhase(paintPhase)
, m_begun(false)
{
- if (!RuntimeEnabledFeatures::slimmingPaintEnabled() || !RuntimeEnabledFeatures::slimmingPaintDisplayItemCacheEnabled())
+ if (!RuntimeEnabledFeatures::slimmingPaintEnabled())
return;
ASSERT(m_displayItemList);
@@ -27,7 +27,7 @@ SubtreeRecorder::SubtreeRecorder(GraphicsContext* context, const LayoutObject& s
SubtreeRecorder::~SubtreeRecorder()
{
- if (!RuntimeEnabledFeatures::slimmingPaintEnabled() || !RuntimeEnabledFeatures::slimmingPaintDisplayItemCacheEnabled())
+ if (!RuntimeEnabledFeatures::slimmingPaintEnabled())
return;
if (m_begun)
@@ -36,7 +36,7 @@ SubtreeRecorder::~SubtreeRecorder()
void SubtreeRecorder::begin()
{
- if (!RuntimeEnabledFeatures::slimmingPaintEnabled() || !RuntimeEnabledFeatures::slimmingPaintDisplayItemCacheEnabled())
+ if (!RuntimeEnabledFeatures::slimmingPaintEnabled())
return;
addDisplayItem(BeginSubtreeDisplayItem::create(m_subtreeRoot.displayItemClient(), DisplayItem::paintPhaseToBeginSubtreeType(m_paintPhase)));
« no previous file with comments | « Source/core/paint/LayoutObjectDrawingRecorderTest.cpp ('k') | Source/core/paint/ViewDisplayListTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698