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

Unified Diff: components/html_viewer/html_widget.cc

Issue 1343303003: Revert of Mandoline: Add WebGL support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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: components/html_viewer/html_widget.cc
diff --git a/components/html_viewer/html_widget.cc b/components/html_viewer/html_widget.cc
index 24426571a990c4a15b6ff6ad2a9b602a0539874e..fe3e6788fb2e9841d6c10e8eb4acb604273ad57d 100644
--- a/components/html_viewer/html_widget.cc
+++ b/components/html_viewer/html_widget.cc
@@ -4,7 +4,6 @@
#include "components/html_viewer/html_widget.h"
-#include "base/command_line.h"
#include "components/html_viewer/global_state.h"
#include "components/html_viewer/ime_controller.h"
#include "components/html_viewer/stats_collection_controller.h"
@@ -21,8 +20,6 @@
namespace html_viewer {
namespace {
-const char kDisableWebGLSwitch[] = "disable-webgl";
-
scoped_ptr<WebLayerTreeViewImpl> CreateWebLayerTreeView(
GlobalState* global_state) {
return make_scoped_ptr(new WebLayerTreeViewImpl(
@@ -60,10 +57,6 @@
settings->setDefaultFontSize(16);
settings->setLoadsImagesAutomatically(true);
settings->setJavaScriptEnabled(true);
-
- base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
- settings->setExperimentalWebGLEnabled(
- !command_line->HasSwitch(kDisableWebGLSwitch));
}
} // namespace
« no previous file with comments | « components/html_viewer/blink_platform_impl.cc ('k') | components/html_viewer/web_graphics_context_3d_command_buffer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698