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

Unified Diff: webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.cc

Issue 12379055: Changed SoftwareOutputDevice interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed cc.gyp deps Created 7 years, 10 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_support_software_output_device.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_layer_tree_view_impl_for_testing.cc
diff --git a/webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.cc b/webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.cc
index ecfe511efad2ca975f02c1d13e3889d2be644f9b..1e7f38e17ee73662c67974272a3c1b34518bfbfd 100644
--- a/webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.cc
+++ b/webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.cc
@@ -13,6 +13,7 @@
#include "cc/layer.h"
#include "cc/layer_tree_host.h"
#include "cc/output_surface.h"
+#include "cc/software_output_device.h"
#include "cc/switches.h"
#include "cc/thread.h"
#include "cc/thread_impl.h"
@@ -24,7 +25,6 @@
#include "third_party/WebKit/Source/Platform/chromium/public/WebRenderingStats.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h"
#include "webkit/compositor_bindings/web_compositor_support_impl.h"
-#include "webkit/compositor_bindings/web_compositor_support_software_output_device.h"
#include "webkit/compositor_bindings/web_layer_impl.h"
#include "webkit/compositor_bindings/web_rendering_stats_impl.h"
#include "webkit/compositor_bindings/web_to_ccinput_handler_adapter.h"
@@ -184,11 +184,9 @@ WebLayerTreeViewImplForTesting::createOutputSurface() {
break;
}
case webkit_support::SOFTWARE_CONTEXT: {
- using webkit::WebCompositorSupportSoftwareOutputDevice;
- scoped_ptr<WebCompositorSupportSoftwareOutputDevice> software_device =
- make_scoped_ptr(new WebCompositorSupportSoftwareOutputDevice);
- surface.reset(new cc::OutputSurface(
- software_device.PassAs<cc::SoftwareOutputDevice>()));
+ scoped_ptr<cc::SoftwareOutputDevice> software_device =
+ make_scoped_ptr(new cc::SoftwareOutputDevice);
+ surface.reset(new cc::OutputSurface(software_device.Pass()));
break;
}
case webkit_support::MESA_CONTEXT: {
« no previous file with comments | « webkit/compositor_bindings/web_compositor_support_software_output_device.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698