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

Unified Diff: trunk/src/content/shell/renderer/webkit_test_runner.cc

Issue 111883004: Revert 239921 "Revert 239759 "The comment in base64.h implies th..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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 | « trunk/src/content/shell/browser/webkit_test_controller.cc ('k') | trunk/src/extensions/common/extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/content/shell/renderer/webkit_test_runner.cc
===================================================================
--- trunk/src/content/shell/renderer/webkit_test_runner.cc (revision 239942)
+++ trunk/src/content/shell/renderer/webkit_test_runner.cc (working copy)
@@ -292,8 +292,7 @@
routing_id(), local_path, &contents));
std::string contents_base64;
- if (!base::Base64Encode(contents, &contents_base64))
- return WebURL();
+ base::Base64Encode(contents, &contents_base64);
const char data_url_prefix[] = "data:text/css:charset=utf-8;base64,";
return WebURL(GURL(data_url_prefix + contents_base64));
« no previous file with comments | « trunk/src/content/shell/browser/webkit_test_controller.cc ('k') | trunk/src/extensions/common/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698