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

Unified Diff: Source/web/WebSettingsImpl.cpp

Issue 1182663009: [DevTools] Disable plugins when emulating mobile. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/web/DevToolsEmulator.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebSettingsImpl.cpp
diff --git a/Source/web/WebSettingsImpl.cpp b/Source/web/WebSettingsImpl.cpp
index 230a01b32486022647c87559b923c76d6a97de7b..be93bb613e1dcecfb14b90261f71ab2f75d2c051 100644
--- a/Source/web/WebSettingsImpl.cpp
+++ b/Source/web/WebSettingsImpl.cpp
@@ -281,7 +281,7 @@ void WebSettingsImpl::setLoadWithOverviewMode(bool enabled)
void WebSettingsImpl::setPluginsEnabled(bool enabled)
{
- m_settings->setPluginsEnabled(enabled);
+ m_devToolsEmulator->setPluginsEnabled(enabled);
}
void WebSettingsImpl::setAvailablePointerTypes(int pointers)
« no previous file with comments | « Source/web/DevToolsEmulator.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698