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

Unified Diff: cc/blink/web_layer_impl.cc

Issue 1179653004: Remove non-impl-side painting as an option for blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removenoimplblink: . 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 | « cc/blink/web_layer_impl.h ('k') | chrome/app/generated_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_layer_impl.cc
diff --git a/cc/blink/web_layer_impl.cc b/cc/blink/web_layer_impl.cc
index f0fd873690434ebee2d7192c8dacc1d4ae39b4b4..3ba9431171d333c280da57f1159fb2272d6dfaf9 100644
--- a/cc/blink/web_layer_impl.cc
+++ b/cc/blink/web_layer_impl.cc
@@ -46,8 +46,6 @@ using blink::WebFilterOperations;
namespace cc_blink {
namespace {
-bool g_impl_side_painting_enabled = false;
-
base::LazyInstance<cc::LayerSettings> g_layer_settings =
LAZY_INSTANCE_INITIALIZER;
@@ -71,16 +69,6 @@ WebLayerImpl::~WebLayerImpl() {
}
// static
-bool WebLayerImpl::UsingPictureLayer() {
- return g_impl_side_painting_enabled;
-}
-
-// static
-void WebLayerImpl::SetImplSidePaintingEnabled(bool enabled) {
- g_impl_side_painting_enabled = enabled;
-}
-
-// static
void WebLayerImpl::SetLayerSettings(const cc::LayerSettings& settings) {
g_layer_settings.Get() = settings;
}
« no previous file with comments | « cc/blink/web_layer_impl.h ('k') | chrome/app/generated_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698