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

Unified Diff: ui/gfx/compositor/test/test_texture.cc

Issue 9297041: Merge Compositor and CompositorCC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 11 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 | « ui/gfx/compositor/test/test_texture.h ('k') | ui/views/widget/native_widget_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/compositor/test/test_texture.cc
diff --git a/ui/gfx/compositor/test/test_texture.cc b/ui/gfx/compositor/test/test_texture.cc
deleted file mode 100644
index 3e47c6f447d4c1ac50409d2d40757d9095b6b4b4..0000000000000000000000000000000000000000
--- a/ui/gfx/compositor/test/test_texture.cc
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2011 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 "ui/gfx/compositor/test/test_texture.h"
-
-#include "third_party/skia/include/core/SkCanvas.h"
-#include "third_party/skia/include/core/SkDevice.h"
-
-namespace ui {
-
-// static
-int TestTexture::live_count_ = 0;
-
-TestTexture::TestTexture() {
- live_count_++;
-}
-
-TestTexture::~TestTexture() {
- live_count_--;
-}
-
-void TestTexture::SetCanvas(const SkCanvas& canvas,
- const gfx::Point& origin,
- const gfx::Size& overall_size) {
- const SkBitmap& bitmap = canvas.getDevice()->accessBitmap(false);
- bounds_of_last_paint_.SetRect(
- origin.x(), origin.y(), bitmap.width(), bitmap.height());
-}
-
-void TestTexture::Draw(const ui::TextureDrawParams& params,
- const gfx::Rect& clip_bounds) {
-}
-
-} // namespace ui
« no previous file with comments | « ui/gfx/compositor/test/test_texture.h ('k') | ui/views/widget/native_widget_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698