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

Unified Diff: app/gfx/gl/gl_context_stub.h

Issue 5783004: Keep deinlining stuff. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Well, it all compiles locally? Created 10 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
Index: app/gfx/gl/gl_context_stub.h
diff --git a/app/gfx/gl/gl_context_stub.h b/app/gfx/gl/gl_context_stub.h
index 0037044b4c889e4dc79281d3116048343d2c68dd..d4a1e18ed4ea6550770f7a8deec878f3340e8968 100644
--- a/app/gfx/gl/gl_context_stub.h
+++ b/app/gfx/gl/gl_context_stub.h
@@ -15,16 +15,18 @@ namespace gfx {
// A GLContext that does nothing for unit tests.
class StubGLContext : public gfx::GLContext {
public:
+ virtual ~StubGLContext();
+
// Implement GLContext.
virtual void Destroy() {}
- virtual bool MakeCurrent() { return true; }
- virtual bool IsCurrent() { return true; }
- virtual bool IsOffscreen() { return false; }
- virtual bool SwapBuffers() { return true; }
- virtual gfx::Size GetSize() { return size_; }
- virtual void* GetHandle() { return NULL; }
+ virtual bool MakeCurrent();
+ virtual bool IsCurrent();
+ virtual bool IsOffscreen();
+ virtual bool SwapBuffers();
+ virtual gfx::Size GetSize();
+ virtual void* GetHandle();
virtual void SetSwapInterval(int interval) {}
- virtual std::string GetExtensions() { return std::string(); }
+ virtual std::string GetExtensions();
void SetSize(const gfx::Size& size) { size_ = size; }

Powered by Google App Engine
This is Rietveld 408576698