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

Unified Diff: Source/core/inspector/InjectedScriptManager.cpp

Issue 1149383005: DevTools: remove InjectedScriptHost.idl, implement the binding without generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/core/inspector/InjectedScriptManager.h ('k') | Source/core/inspector/injected_script_externs.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InjectedScriptManager.cpp
diff --git a/Source/core/inspector/InjectedScriptManager.cpp b/Source/core/inspector/InjectedScriptManager.cpp
index 961481b48806d0ea400e83b3db71a031ca65038a..c50a7d1d5c7b7b16241ffd23ab88f2b295a559a8 100644
--- a/Source/core/inspector/InjectedScriptManager.cpp
+++ b/Source/core/inspector/InjectedScriptManager.cpp
@@ -68,9 +68,6 @@ InjectedScriptManager::~InjectedScriptManager()
DEFINE_TRACE(InjectedScriptManager)
{
visitor->trace(m_injectedScriptHost);
-#if ENABLE(OILPAN)
- visitor->trace(m_callbackDataSet);
-#endif
}
void InjectedScriptManager::disconnect()
@@ -188,26 +185,4 @@ InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState* inspectedSc
return result;
}
-PassOwnPtrWillBeRawPtr<InjectedScriptManager::CallbackData> InjectedScriptManager::CallbackData::create(InjectedScriptManager* manager)
-{
- return adoptPtrWillBeNoop(new CallbackData(manager));
-}
-
-InjectedScriptManager::CallbackData::CallbackData(InjectedScriptManager* manager)
- : injectedScriptManager(manager)
-{
-}
-
-void InjectedScriptManager::CallbackData::dispose()
-{
- // Promptly release the ScopedPersistent<>.
- handle.clear();
-}
-
-DEFINE_TRACE(InjectedScriptManager::CallbackData)
-{
- visitor->trace(host);
- visitor->trace(injectedScriptManager);
-}
-
} // namespace blink
« no previous file with comments | « Source/core/inspector/InjectedScriptManager.h ('k') | Source/core/inspector/injected_script_externs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698