diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2012-09-20 14:01:09 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-09-20 14:01:09 +0200 |
commit | 6dbcd09121fe266c7704a524b5cbd7f2754659c0 (patch) | |
tree | 5ae0d16cec0cc61f576d51c57b3a4613c7e91e22 /Source/WebCore/fileapi/Blob.cpp | |
parent | 6bbb7fbbac94d0f511a7bd0cbd50854ab643bfb2 (diff) | |
download | qtwebkit-6dbcd09121fe266c7704a524b5cbd7f2754659c0.tar.gz |
Imported WebKit commit 080af0beaa6f0ba8ff8f44cb8bd8b5dcf75ac0af (http://svn.webkit.org/repository/webkit/trunk@129119)
New snapshot with prospective build fix for incorrect QtWebKit master module header file creation
Diffstat (limited to 'Source/WebCore/fileapi/Blob.cpp')
-rw-r--r-- | Source/WebCore/fileapi/Blob.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Source/WebCore/fileapi/Blob.cpp b/Source/WebCore/fileapi/Blob.cpp index 431f1764b..291a22729 100644 --- a/Source/WebCore/fileapi/Blob.cpp +++ b/Source/WebCore/fileapi/Blob.cpp @@ -89,21 +89,6 @@ Blob::~Blob() #if ENABLE(BLOB) PassRefPtr<Blob> Blob::slice(long long start, long long end, const String& contentType) const { - HistogramSupport::histogramEnumeration("WebCore.Blob.slice", SliceWithoutPrefix, SliceHistogramEnumMax); - return sliceInternal(start, end, contentType); -} - -PassRefPtr<Blob> Blob::webkitSlice(ScriptExecutionContext* context, long long start, long long end, const String& contentType) const -{ - String message("Blob.webkitSlice() is deprecated. Use Blob.slice() instead."); - context->addConsoleMessage(JSMessageSource, LogMessageType, WarningMessageLevel, message); - - HistogramSupport::histogramEnumeration("WebCore.Blob.slice", SliceWithPrefix, SliceHistogramEnumMax); - return sliceInternal(start, end, contentType); -} - -PassRefPtr<Blob> Blob::sliceInternal(long long start, long long end, const String& contentType) const -{ // When we slice a file for the first time, we obtain a snapshot of the file by capturing its current size and modification time. // The modification time will be used to verify if the file has been changed or not, when the underlying data are accessed. long long size; |