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

Unified Diff: Source/WebCore/loader/cache/CachedScript.cpp

Issue 14210003: Simplify CachedResource::data (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Created 7 years, 8 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 | « Source/WebCore/loader/cache/CachedScript.h ('k') | Source/WebCore/loader/cache/CachedShader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/loader/cache/CachedScript.cpp
===================================================================
--- Source/WebCore/loader/cache/CachedScript.cpp (revision 148397)
+++ Source/WebCore/loader/cache/CachedScript.cpp (working copy)
@@ -82,17 +82,6 @@
return m_script;
}
-void CachedScript::data(PassRefPtr<ResourceBuffer> data, bool allDataReceived)
-{
- if (!allDataReceived)
- return;
-
- m_data = data;
- setEncodedSize(m_data.get() ? m_data->size() : 0);
- setLoading(false);
- checkNotify();
-}
-
void CachedScript::destroyDecodedData()
{
m_script = String();
« no previous file with comments | « Source/WebCore/loader/cache/CachedScript.h ('k') | Source/WebCore/loader/cache/CachedShader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698