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

Unified Diff: third_party/WebKit/Source/core/dom/PendingScript.cpp

Issue 1569273004: Move ResourceOwner on to the oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/core/dom/PendingScript.cpp
diff --git a/third_party/WebKit/Source/core/dom/PendingScript.cpp b/third_party/WebKit/Source/core/dom/PendingScript.cpp
index ba3e8a5bbcfd28a4ae5cca10beb104b6a014111c..a0605d77562e4e47986ff8ecfde38269920154e3 100644
--- a/third_party/WebKit/Source/core/dom/PendingScript.cpp
+++ b/third_party/WebKit/Source/core/dom/PendingScript.cpp
@@ -34,13 +34,6 @@
namespace blink {
-PendingScript::PendingScript()
- : m_watchingForLoad(false)
- , m_startingPosition(TextPosition::belowRangePosition())
- , m_integrityFailure(false)
-{
-}
-
PendingScript::PendingScript(Element* element, ScriptResource* resource)
: m_watchingForLoad(false)
, m_element(element)
@@ -49,17 +42,6 @@ PendingScript::PendingScript(Element* element, ScriptResource* resource)
setScriptResource(resource);
}
-PendingScript::PendingScript(const PendingScript& other)
- : ResourceOwner(other)
- , m_watchingForLoad(other.m_watchingForLoad)
- , m_element(other.m_element)
- , m_startingPosition(other.m_startingPosition)
- , m_integrityFailure(other.m_integrityFailure)
- , m_streamer(other.m_streamer)
-{
- setScriptResource(other.resource());
-}
-
PendingScript::~PendingScript()
{
}

Powered by Google App Engine
This is Rietveld 408576698