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

Unified Diff: components/test_runner/test_plugin.cc

Issue 1783613004: CC Animation: Erase cc::LayerSettings everywhere. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@eraseandroid
Patch Set: Rebase. Created 4 years, 9 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 | « chrome/browser/android/tab_android.cc ('k') | content/browser/android/composited_touch_handle_drawable.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/test_plugin.cc
diff --git a/components/test_runner/test_plugin.cc b/components/test_runner/test_plugin.cc
index e544d5fb9369beab7d2ddcfe5a16036660591ddd..19aabb4a535edd0a0e4c01ee562c5831b14d527f 100644
--- a/components/test_runner/test_plugin.cc
+++ b/components/test_runner/test_plugin.cc
@@ -13,7 +13,6 @@
#include "base/memory/shared_memory.h"
#include "base/strings/stringprintf.h"
#include "cc/blink/web_layer_impl.h"
-#include "cc/layers/layer_settings.h"
#include "cc/layers/texture_layer.h"
#include "cc/resources/shared_bitmap_manager.h"
#include "components/test_runner/web_test_delegate.h"
@@ -208,8 +207,7 @@ bool TestPlugin::initialize(blink::WebPluginContainer* container) {
if (!InitScene())
return false;
- layer_ = cc::TextureLayer::CreateForMailbox(
- cc::LayerSettings(), this);
+ layer_ = cc::TextureLayer::CreateForMailbox(this);
web_layer_ = make_scoped_ptr(new cc_blink::WebLayerImpl(layer_));
container_ = container;
container_->setWebLayer(web_layer_.get());
« no previous file with comments | « chrome/browser/android/tab_android.cc ('k') | content/browser/android/composited_touch_handle_drawable.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698