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

Side by Side Diff: cc/image_layer_updater.cc

Issue 11410021: Remove WTF and WebCore from cc/ and webkit/compositor_bindings/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix content_browsertests Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/image_layer_updater.h ('k') | cc/io_surface_draw_quad.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h"
6
7 #include "cc/image_layer_updater.h" 5 #include "cc/image_layer_updater.h"
8 #include "cc/resource_update_queue.h" 6 #include "cc/resource_update_queue.h"
9 7
10 namespace cc { 8 namespace cc {
11 9
12 void ImageLayerUpdater::Resource::update(ResourceUpdateQueue& queue, const gfx:: Rect& sourceRect, const gfx::Vector2d& destOffset, bool partialUpdate, Rendering Stats&) 10 void ImageLayerUpdater::Resource::update(ResourceUpdateQueue& queue, const gfx:: Rect& sourceRect, const gfx::Vector2d& destOffset, bool partialUpdate, Rendering Stats&)
13 { 11 {
14 m_updater->updateTexture(queue, texture(), sourceRect, destOffset, partialUp date); 12 m_updater->updateTexture(queue, texture(), sourceRect, destOffset, partialUp date);
15 } 13 }
16 14
(...skipping 29 matching lines...) Expand all
46 else 44 else
47 queue.appendFullUpload(upload); 45 queue.appendFullUpload(upload);
48 } 46 }
49 47
50 void ImageLayerUpdater::setBitmap(const SkBitmap& bitmap) 48 void ImageLayerUpdater::setBitmap(const SkBitmap& bitmap)
51 { 49 {
52 m_bitmap = bitmap; 50 m_bitmap = bitmap;
53 } 51 }
54 52
55 } 53 }
OLDNEW
« no previous file with comments | « cc/image_layer_updater.h ('k') | cc/io_surface_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698