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

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

Issue 2859023: Boilerplate implementation of the Pepper URL Loader API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 | « webkit/glue/plugins/pepper_var.h ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/pepper_var.cc
===================================================================
--- webkit/glue/plugins/pepper_var.cc (revision 50727)
+++ webkit/glue/plugins/pepper_var.cc (working copy)
@@ -73,12 +73,6 @@
return reinterpret_cast<String*>(var.value.as_id);
}
-String* GetString(PP_Var var) {
- if (var.type != PP_VarType_String)
- return NULL;
- return GetStringUnchecked(var);
-}
-
NPObject* GetNPObjectUnchecked(PP_Var var) {
return reinterpret_cast<NPObject*>(var.value.as_id);
}
@@ -845,4 +839,10 @@
return GetNPObjectUnchecked(var);
}
+String* GetString(PP_Var var) {
+ if (var.type != PP_VarType_String)
+ return NULL;
+ return GetStringUnchecked(var);
+}
+
} // namespace pepper
« no previous file with comments | « webkit/glue/plugins/pepper_var.h ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698