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

Unified Diff: webkit/glue/plugins/pepper_var.h

Issue 5741001: Even more virtual method deinlining. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase (windows) 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
« no previous file with comments | « webkit/glue/plugins/pepper_transport.cc ('k') | webkit/glue/plugins/pepper_var.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/pepper_var.h
diff --git a/webkit/glue/plugins/pepper_var.h b/webkit/glue/plugins/pepper_var.h
index 8929448ca84d66d59c5f8c8739b9b2efaab7cb6d..e59920a950e4eb787fc868c8322185ea3060f31a 100644
--- a/webkit/glue/plugins/pepper_var.h
+++ b/webkit/glue/plugins/pepper_var.h
@@ -28,7 +28,7 @@ class Var : public Resource {
virtual ~Var();
// Resource overrides.
- virtual Var* AsVar() { return this; }
+ virtual Var* AsVar();
// Returns a PP_Var that corresponds to the given NPVariant. The contents of
// the NPVariant will be copied unless the NPVariant corresponds to an
@@ -114,7 +114,7 @@ class StringVar : public Var {
const std::string& value() const { return value_; }
// Resource overrides.
- virtual StringVar* AsStringVar() { return this; }
+ virtual StringVar* AsStringVar();
// Helper function to create a PP_Var of type string that contains a copy of
// the given string. The input data must be valid UTF-8 encoded text, if it
@@ -154,7 +154,7 @@ class ObjectVar : public Var {
virtual ~ObjectVar();
// Resource overrides.
- virtual ObjectVar* AsObjectVar() { return this; }
+ virtual ObjectVar* AsObjectVar();
// Returns the underlying NPObject corresponding to this ObjectVar.
// Guaranteed non-NULL.
« no previous file with comments | « webkit/glue/plugins/pepper_transport.cc ('k') | webkit/glue/plugins/pepper_var.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698