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

Unified Diff: third_party/WebKit/WebCore/platform/text/TextEncoding.cpp

Issue 50093: Fix LayoutTests/http/tests/misc/url-in-utf16be.html and LayoutTests/http/test... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 11 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/WebCore/platform/text/TextEncoding.cpp
===================================================================
--- third_party/WebKit/WebCore/platform/text/TextEncoding.cpp (revision 12118)
+++ third_party/WebKit/WebCore/platform/text/TextEncoding.cpp (working copy)
@@ -188,8 +188,6 @@
// but it's fraught with problems and we'd rather steer clear of it.
const TextEncoding& TextEncoding::encodingForFormSubmission() const
{
- if (noExtendedTextEncodingNameUsed())
- return *this;
if (isNonByteBasedEncoding() || *this == UTF7Encoding())
return UTF8Encoding();
return *this;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698