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

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

Issue 2806049: Allow Pepper plugins to make requests with relative urls. (Closed) Base URL: svn://chrome-svn/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_url_request_info.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/pepper_url_request_info.cc
===================================================================
--- webkit/glue/plugins/pepper_url_request_info.cc (revision 51504)
+++ webkit/glue/plugins/pepper_url_request_info.cc (working copy)
@@ -118,7 +118,9 @@
// TODO(darin): Validate input. Perhaps at a different layer?
switch (property) {
case PP_URLRequestProperty_URL:
- web_request_.setURL(GURL(value));
+ // Keep the url in a string instead of a URL object because it might not
+ // be complete yet.
+ url_ = value;
return true;
case PP_URLRequestProperty_Method:
web_request_.setHTTPMethod(WebString::fromUTF8(value));
« no previous file with comments | « webkit/glue/plugins/pepper_url_request_info.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698