Title: [105735] trunk/Source/WebCore
- Revision
- 105735
- Author
- [email protected]
- Date
- 2012-01-24 06:35:36 -0800 (Tue, 24 Jan 2012)
Log Message
Web Inspector: inspector/debugger/dom-breakpoints.html started to fail after r105642
https://bugs.webkit.org/show_bug.cgi?id=76908
Reviewed by Yury Semikhatsky.
* css/CSSMutableStyleDeclaration.cpp:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (105734 => 105735)
--- trunk/Source/WebCore/ChangeLog 2012-01-24 13:58:04 UTC (rev 105734)
+++ trunk/Source/WebCore/ChangeLog 2012-01-24 14:35:36 UTC (rev 105735)
@@ -1,3 +1,12 @@
+2012-01-24 Ilya Tikhonovsky <[email protected]>
+
+ Web Inspector: inspector/debugger/dom-breakpoints.html started to fail after r105642
+ https://bugs.webkit.org/show_bug.cgi?id=76908
+
+ Reviewed by Yury Semikhatsky.
+
+ * css/CSSMutableStyleDeclaration.cpp:
+
2012-01-24 Csaba Osztrogonác <[email protected]>
[Refactoring] Make finish() of CodeGeneratorJS.pm empty
Modified: trunk/Source/WebCore/css/CSSMutableStyleDeclaration.cpp (105734 => 105735)
--- trunk/Source/WebCore/css/CSSMutableStyleDeclaration.cpp 2012-01-24 13:58:04 UTC (rev 105734)
+++ trunk/Source/WebCore/css/CSSMutableStyleDeclaration.cpp 2012-01-24 14:35:36 UTC (rev 105735)
@@ -91,10 +91,12 @@
s_currentDecl = 0;
return;
}
- if (s_currentDecl->isInlineStyleDeclaration() && s_currentDecl->parentElement() && s_currentDecl->parentElement()->document())
- InspectorInstrumentation::didInvalidateStyleAttr(s_currentDecl->parentElement()->document(), s_currentDecl->parentElement());
+ // We have to clear internal state before calling Inspector's code.
+ CSSMutableStyleDeclaration* localCopyStyleDecl = s_currentDecl;
s_currentDecl = 0;
s_shouldNotifyInspector = false;
+ if (localCopyStyleDecl->isInlineStyleDeclaration() && localCopyStyleDecl->parentElement() && localCopyStyleDecl->parentElement()->document())
+ InspectorInstrumentation::didInvalidateStyleAttr(localCopyStyleDecl->parentElement()->document(), localCopyStyleDecl->parentElement());
}
#if ENABLE(MUTATION_OBSERVERS)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes