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

Unified Diff: Source/core/inspector/InspectorInstrumentationInl.h

Issue 14821010: DevTools: Do not unbind stylesheets in multiframe documents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add test files left behind 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
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorInstrumentationInl.h
diff --git a/Source/core/inspector/InspectorInstrumentationInl.h b/Source/core/inspector/InspectorInstrumentationInl.h
index dffd386a706191139dc140663180318edf40b3a2..5459bf77c288402158cd8092e039f87e56dba842 100644
--- a/Source/core/inspector/InspectorInstrumentationInl.h
+++ b/Source/core/inspector/InspectorInstrumentationInl.h
@@ -43,7 +43,7 @@ void didModifyDOMAttrImpl(InstrumentingAgents*, Element*, const AtomicString& na
void didRemoveDOMAttrImpl(InstrumentingAgents*, Element*, const AtomicString& name);
void characterDataModifiedImpl(InstrumentingAgents*, CharacterData*);
void didInvalidateStyleAttrImpl(InstrumentingAgents*, Node*);
-void activeStyleSheetsUpdatedImpl(InstrumentingAgents*, const Vector<RefPtr<StyleSheet> >&);
+void activeStyleSheetsUpdatedImpl(InstrumentingAgents*, Document*, const Vector<RefPtr<StyleSheet> >&);
void frameWindowDiscardedImpl(InstrumentingAgents*, DOMWindow*);
void mediaQueryResultChangedImpl(InstrumentingAgents*);
void didCreateNamedFlowImpl(InstrumentingAgents*, Document*, NamedFlow*);
@@ -204,7 +204,7 @@ inline void activeStyleSheetsUpdated(Document* document, const Vector<RefPtr<Sty
{
FAST_RETURN_IF_NO_FRONTENDS(void());
if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
- activeStyleSheetsUpdatedImpl(instrumentingAgents, newSheets);
+ activeStyleSheetsUpdatedImpl(instrumentingAgents, document, newSheets);
}
inline void frameWindowDiscarded(Frame* frame, DOMWindow* domWindow)
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698