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

Unified Diff: Source/core/dom/DOMSettableTokenList.h

Issue 1040943002: When call getAttribute, HTMLIFrame.sandbox has a bug which don't return changed value. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modify a test-case for Layout Test. Created 5 years, 9 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/dom/DOMSettableTokenList.h
diff --git a/Source/core/dom/DOMSettableTokenList.h b/Source/core/dom/DOMSettableTokenList.h
index fe274a762192acbfd04b42864a59a9889a536c80..90c86f6c6f47a97dbe3739e701281d33e374be95 100644
--- a/Source/core/dom/DOMSettableTokenList.h
+++ b/Source/core/dom/DOMSettableTokenList.h
@@ -34,13 +34,7 @@
namespace blink {
class ExceptionState;
-
-class DOMSettableTokenListObserver : public WillBeGarbageCollectedMixin {
-public:
- virtual void valueChanged() = 0;
-
- DEFINE_INLINE_VIRTUAL_TRACE() { }
-};
+class DOMSettableTokenListObserver;
class DOMSettableTokenList final
: public DOMTokenList
@@ -89,6 +83,13 @@ private:
RawPtrWillBeWeakMember<DOMSettableTokenListObserver> m_observer;
};
+class DOMSettableTokenListObserver : public WillBeGarbageCollectedMixin {
+public:
+ virtual void valueChanged(DOMSettableTokenList*) = 0;
+
+ DEFINE_INLINE_VIRTUAL_TRACE() { }
+};
+
} // namespace blink
#endif // DOMSettableTokenList_h

Powered by Google App Engine
This is Rietveld 408576698