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

Unified Diff: ui/compositor/compositor.h

Issue 11475017: Revert 171569 as it broke some browser_tests on win_aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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 | « gpu/command_buffer/service/texture_definition.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor.h
===================================================================
--- ui/compositor/compositor.h (revision 171661)
+++ ui/compositor/compositor.h (working copy)
@@ -112,17 +112,14 @@
virtual unsigned int PrepareTexture() = 0;
virtual WebKit::WebGraphicsContext3D* HostContext3D() = 0;
- virtual void Consume(const gfx::Size& new_size) {}
- virtual void Produce() {}
-
protected:
virtual ~Texture();
- gfx::Size size_; // in pixel
private:
friend class base::RefCounted<Texture>;
bool flipped_;
+ gfx::Size size_; // in pixel
float device_scale_factor_;
DISALLOW_COPY_AND_ASSIGN(Texture);
« no previous file with comments | « gpu/command_buffer/service/texture_definition.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698