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

Unified Diff: webkit/glue/dom_operations.cc

Issue 28281: Get rid of wstring variants of StringToFoo. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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/glue/dom_operations.cc
===================================================================
--- webkit/glue/dom_operations.cc (revision 10641)
+++ webkit/glue/dom_operations.cc (working copy)
@@ -685,7 +685,7 @@
return 0;
}
int output;
- if (!StringToInt(text, &output))
+ if (!StringToInt(WideToUTF16Hack(text), &output))
return 0;
return output;
}

Powered by Google App Engine
This is Rietveld 408576698