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

Unified Diff: webkit/plugins/npapi/test/plugin_windowless_test.cc

Issue 10833017: Fix gcc 4.7 building problems - cont 2. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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
Index: webkit/plugins/npapi/test/plugin_windowless_test.cc
diff --git a/webkit/plugins/npapi/test/plugin_windowless_test.cc b/webkit/plugins/npapi/test/plugin_windowless_test.cc
index d92a43173710e191f0b5284c9bc81ebd2d3e2237..a8e82532152e1e265f1b5a63bbce216fb5d9780a 100644
--- a/webkit/plugins/npapi/test/plugin_windowless_test.cc
+++ b/webkit/plugins/npapi/test/plugin_windowless_test.cc
@@ -134,7 +134,8 @@ NPError WindowlessPluginTest::ExecuteScript(NPNetscapeFuncs* browser, NPP id,
std::string script_url = "javascript:";
script_url += script;
- NPString script_string = { script_url.c_str(), script_url.length() };
+ NPString script_string = { script_url.c_str(),
agl 2012/07/25 20:32:34 ditto.
Han 2012/07/25 22:28:44 Done.
+ static_cast<uint32_t>(script_url.length()) };
NPObject *window_obj = NULL;
browser->getvalue(id, NPNVWindowNPObject, &window_obj);

Powered by Google App Engine
This is Rietveld 408576698