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

Unified Diff: webkit/renderer/compositor_bindings/web_solid_color_layer_impl.cc

Issue 317163002: Moving compositor_bindings from webkit to content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changing dependencies due to failing ios bots Created 6 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
Index: webkit/renderer/compositor_bindings/web_solid_color_layer_impl.cc
diff --git a/webkit/renderer/compositor_bindings/web_solid_color_layer_impl.cc b/webkit/renderer/compositor_bindings/web_solid_color_layer_impl.cc
deleted file mode 100644
index 5dd6aa383c4d7c14f173b5f51fc33bdafc135a0b..0000000000000000000000000000000000000000
--- a/webkit/renderer/compositor_bindings/web_solid_color_layer_impl.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "webkit/renderer/compositor_bindings/web_solid_color_layer_impl.h"
-
-#include "cc/layers/solid_color_layer.h"
-#include "webkit/renderer/compositor_bindings/web_layer_impl.h"
-
-using cc::SolidColorLayer;
-
-namespace webkit {
-
-WebSolidColorLayerImpl::WebSolidColorLayerImpl()
- : layer_(new WebLayerImpl(SolidColorLayer::Create())) {
- layer_->layer()->SetIsDrawable(true);
-}
-
-WebSolidColorLayerImpl::~WebSolidColorLayerImpl() {}
-
-blink::WebLayer* WebSolidColorLayerImpl::layer() { return layer_.get(); }
-
-void WebSolidColorLayerImpl::setBackgroundColor(blink::WebColor color) {
- layer_->setBackgroundColor(color);
-}
-
-} // namespace webkit

Powered by Google App Engine
This is Rietveld 408576698