summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl/ppb_url_util_shared.h
diff options
context:
space:
mode:
authordmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-07 22:50:43 +0000
committerdmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-07 22:50:43 +0000
commit872caf56ebb67c01a01d0c8c612e171fd4332624 (patch)
treeb574e7c9f2ac638f3dcd047bf58acc5365752df9 /ppapi/shared_impl/ppb_url_util_shared.h
parentf498828c37cca39771d2a578c609020b5293197c (diff)
downloadchromium_src-872caf56ebb67c01a01d0c8c612e171fd4332624.zip
chromium_src-872caf56ebb67c01a01d0c8c612e171fd4332624.tar.gz
chromium_src-872caf56ebb67c01a01d0c8c612e171fd4332624.tar.bz2
Remove PP_Module from parameters for PPB_Var.VarFromUtf8.
This change has tendrils stretching throughout the code, but mostly this lets us delete a bunch of stuff. This also does a slight refactor to put the PPB_Var implementations in 1 place, since they were already practically identical, and I didn't want to do the backwards-compat code in 2 places. BUG=106596 TEST=N/A TBR=darin,tony darin,tony TBR for rubber-stamp of webkit/glue/webkit_glue.gypi Review URL: http://codereview.chromium.org/8826011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113491 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/shared_impl/ppb_url_util_shared.h')
-rw-r--r--ppapi/shared_impl/ppb_url_util_shared.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ppapi/shared_impl/ppb_url_util_shared.h b/ppapi/shared_impl/ppb_url_util_shared.h
index 54c7573..873da0c 100644
--- a/ppapi/shared_impl/ppb_url_util_shared.h
+++ b/ppapi/shared_impl/ppb_url_util_shared.h
@@ -10,7 +10,6 @@
#include "base/basictypes.h"
#include "googleurl/src/url_parse.h"
#include "ppapi/c/dev/ppb_url_util_dev.h"
-#include "ppapi/c/pp_module.h"
#include "ppapi/c/pp_var.h"
#include "ppapi/shared_impl/ppapi_shared_export.h"
@@ -32,8 +31,7 @@ class PPAPI_SHARED_EXPORT PPB_URLUtil_Shared {
// Used for returning the given GURL from a PPAPI function, with an optional
// out param indicating the components.
- static PP_Var GenerateURLReturn(PP_Module pp_module,
- const GURL& url,
+ static PP_Var GenerateURLReturn(const GURL& url,
PP_URLComponents_Dev* components);
// Helper function that optionally take a components structure and fills it