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

Unified Diff: third_party/WebKit/Source/platform/testing/RuntimeEnabledFeaturesTestHelpers.h

Issue 2560233003: Make NGBlockLayoutAlgorithmTest inherit RenderingTest (Closed)
Patch Set: added an example how to test LayoutNG specific but still use RenderingTest Created 4 years 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: third_party/WebKit/Source/platform/testing/RuntimeEnabledFeaturesTestHelpers.h
diff --git a/third_party/WebKit/Source/platform/testing/RuntimeEnabledFeaturesTestHelpers.h b/third_party/WebKit/Source/platform/testing/RuntimeEnabledFeaturesTestHelpers.h
index 151543ef935988f57ef518e48096f5cc19c7366b..46a6504e08d52777206f6e44e8a64d4ce0249f8b 100644
--- a/third_party/WebKit/Source/platform/testing/RuntimeEnabledFeaturesTestHelpers.h
+++ b/third_party/WebKit/Source/platform/testing/RuntimeEnabledFeaturesTestHelpers.h
@@ -52,6 +52,10 @@ typedef ScopedRuntimeEnabledFeatureForTest<
RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled,
RuntimeEnabledFeatures::setSlimmingPaintInvalidationEnabled>
ScopedSlimmingPaintInvalidationForTest;
+typedef ScopedRuntimeEnabledFeatureForTest<
+ RuntimeEnabledFeatures::layoutNGEnabled,
+ RuntimeEnabledFeatures::setLayoutNGEnabled>
+ ScopedLayoutNGForTest;
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698