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

Unified Diff: webkit/compositor_bindings/web_compositor_support_impl.cc

Issue 11186039: Move CC switches to cc/switches.h. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Switch ui/compositor back to using compositorSupport() Created 8 years, 2 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 | « webkit/compositor_bindings/web_compositor_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor_bindings/web_compositor_support_impl.cc
diff --git a/webkit/compositor_bindings/web_compositor_support_impl.cc b/webkit/compositor_bindings/web_compositor_support_impl.cc
index fb938a506025ae994a9cf215b27433b1530e5885..32a18408180f2ff163223c1aac85fcc6eec1549f 100644
--- a/webkit/compositor_bindings/web_compositor_support_impl.cc
+++ b/webkit/compositor_bindings/web_compositor_support_impl.cc
@@ -6,6 +6,7 @@
#include "webkit/compositor_bindings/web_compositor_support_impl.h"
#include "base/memory/scoped_ptr.h"
+#include "cc/settings.h"
#include "webkit/compositor_bindings/web_animation_impl.h"
#include "webkit/compositor_bindings/web_compositor_impl.h"
#include "webkit/compositor_bindings/web_content_layer_impl.h"
@@ -67,19 +68,19 @@ void WebCompositorSupportImpl::shutdown() {
}
void WebCompositorSupportImpl::setPerTilePaintingEnabled(bool enabled) {
- WebCompositorImpl::setPerTilePaintingEnabled(enabled);
+ cc::Settings::setPerTilePaintingEnabled(enabled);
}
void WebCompositorSupportImpl::setPartialSwapEnabled(bool enabled) {
- WebCompositorImpl::setPartialSwapEnabled(enabled);
+ cc::Settings::setPartialSwapEnabled(enabled);
}
void WebCompositorSupportImpl::setAcceleratedAnimationEnabled(bool enabled) {
- WebCompositorImpl::setAcceleratedAnimationEnabled(enabled);
+ cc::Settings::setAcceleratedAnimationEnabled(enabled);
}
void WebCompositorSupportImpl::setPageScalePinchZoomEnabled(bool enabled) {
- WebCompositorImpl::setPageScalePinchZoomEnabled(enabled);
+ cc::Settings::setPageScalePinchZoomEnabled(enabled);
}
WebLayerTreeView* WebCompositorSupportImpl::createLayerTreeView(
« no previous file with comments | « webkit/compositor_bindings/web_compositor_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698