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

Unified Diff: third_party/WebKit/Source/web/DevToolsEmulator.cpp

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: . Created 3 years, 8 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: third_party/WebKit/Source/web/DevToolsEmulator.cpp
diff --git a/third_party/WebKit/Source/web/DevToolsEmulator.cpp b/third_party/WebKit/Source/web/DevToolsEmulator.cpp
index 4b82e5a90ba40a4b65c75fb851faa16138948f8f..5393a90744ad6c702eec1a97190c2c738e8514c2 100644
--- a/third_party/WebKit/Source/web/DevToolsEmulator.cpp
+++ b/third_party/WebKit/Source/web/DevToolsEmulator.cpp
@@ -319,8 +319,6 @@ void DevToolsEmulator::DisableMobileEmulation() {
return;
RuntimeEnabledFeatures::setOverlayScrollbarsEnabled(
is_overlay_scrollbars_enabled_);
- RuntimeEnabledFeatures::setOrientationEventEnabled(
- is_orientation_event_enabled_);
RuntimeEnabledFeatures::setMobileLayoutThemeEnabled(
is_mobile_layout_theme_enabled_);
ComputedStyle::InvalidateInitialStyle();

Powered by Google App Engine
This is Rietveld 408576698