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

Unified Diff: third_party/WebKit/WebCore/loader/TextResourceDecoder.h

Issue 39293: WebKit merge 41447:41498 [third_party/WebKit] (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove CRLF 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: third_party/WebKit/WebCore/loader/TextResourceDecoder.h
===================================================================
--- third_party/WebKit/WebCore/loader/TextResourceDecoder.h (revision 11154)
+++ third_party/WebKit/WebCore/loader/TextResourceDecoder.h (working copy)
@@ -51,7 +51,8 @@
String decode(const char* data, size_t length);
String flush();
-
+
+ void useLenientXMLDecoding() { m_useLenientXMLDecoding = true; }
bool sawError() const { return m_sawError; }
EncodingSource source() const { return m_source; }
@@ -77,6 +78,7 @@
bool m_checkedForBOM;
bool m_checkedForCSSCharset;
bool m_checkedForHeadCharset;
+ bool m_useLenientXMLDecoding; // Don't stop on XML decoding errors.
bool m_sawError;
bool m_usesEncodingDetector;
};
« no previous file with comments | « third_party/WebKit/WebCore/loader/FrameLoader.cpp ('k') | third_party/WebKit/WebCore/loader/TextResourceDecoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698