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

Unified Diff: third_party/WebKit/Source/platform/text/LineEnding.cpp

Issue 2147633002: Remove nonstandard 'endings' option for Blob/File constructor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Layout test updates Created 4 years, 5 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/Source/platform/text/LineEnding.cpp
diff --git a/third_party/WebKit/Source/platform/text/LineEnding.cpp b/third_party/WebKit/Source/platform/text/LineEnding.cpp
index b4e41c6c8a681c6a74531c01907725796153e138..9b5761c0ea9e760f77aa121fd5b8d0d08a580eac 100644
--- a/third_party/WebKit/Source/platform/text/LineEnding.cpp
+++ b/third_party/WebKit/Source/platform/text/LineEnding.cpp
@@ -215,14 +215,4 @@ CString normalizeLineEndingsToCRLF(const CString& from)
return buffer.buffer();
}
-void normalizeLineEndingsToNative(const CString& from, Vector<char>& result)
-{
-#if OS(WIN)
- VectorCharAppendBuffer buffer(result);
- internalNormalizeLineEndingsToCRLF(from, buffer);
-#else
- normalizeLineEndingsToLF(from, result);
-#endif
-}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698