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

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

Issue 14821010: DevTools: Do not unbind stylesheets in multiframe documents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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: Source/core/inspector/InspectorInstrumentation.cpp
diff --git a/Source/core/inspector/InspectorInstrumentation.cpp b/Source/core/inspector/InspectorInstrumentation.cpp
index 79b3ffc20caba58e9ee6e803e823bb2157f20e9f..ee52ddc120ec4331b16f028746222155d5a7f116 100644
--- a/Source/core/inspector/InspectorInstrumentation.cpp
+++ b/Source/core/inspector/InspectorInstrumentation.cpp
@@ -216,10 +216,10 @@ void didInvalidateStyleAttrImpl(InstrumentingAgents* instrumentingAgents, Node*
domDebuggerAgent->didInvalidateStyleAttr(node);
}
-void activeStyleSheetsUpdatedImpl(InstrumentingAgents* instrumentingAgents, const Vector<RefPtr<StyleSheet> >& newSheets)
+void activeStyleSheetsUpdatedImpl(InstrumentingAgents* instrumentingAgents, Document* document, const Vector<RefPtr<StyleSheet> >& newSheets)
{
if (InspectorCSSAgent* cssAgent = instrumentingAgents->inspectorCSSAgent())
- cssAgent->activeStyleSheetsUpdated(newSheets);
+ cssAgent->activeStyleSheetsUpdated(document, newSheets);
}
void frameWindowDiscardedImpl(InstrumentingAgents* instrumentingAgents, DOMWindow* window)

Powered by Google App Engine
This is Rietveld 408576698