Index: third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp |
index 2c0169ea59c7a98e2795ba17fcc189c72ddc7399..95c705b74b96ba744d0637b3af9a8f004222fc9b 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp |
@@ -26,10 +26,7 @@ class PropertyTreePrinter { |
public: |
void showTree(const FrameView& frameView) |
{ |
- if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { |
- LOG(ERROR) << "This is for slimmingPaintV2 only"; |
- return; |
- } |
+ DCHECK(RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()); |
collectPropertyNodes(frameView); |
showAllPropertyNodes(nullptr); |
} |