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

Unified Diff: Source/core/css/InlineVariablesIterator.h

Issue 119533003: Clear mutable inline style when it is empty. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed typo. Created 7 years 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/css/InlineVariablesIterator.h
diff --git a/Source/core/svg/SVGFEPointLightElement.h b/Source/core/css/InlineVariablesIterator.h
similarity index 61%
copy from Source/core/svg/SVGFEPointLightElement.h
copy to Source/core/css/InlineVariablesIterator.h
index b32b9516fb980de708812c7afd3ff6ba3ef37df0..693adc73f3b47ba2b98f40265fcc795dca941a44 100644
--- a/Source/core/svg/SVGFEPointLightElement.h
+++ b/Source/core/css/InlineVariablesIterator.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2005 Oliver Hunt <ojh16@student.canterbury.ac.nz>
+ * Copyright (C) 2013 Google Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -17,23 +17,27 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef SVGFEPointLightElement_h
-#define SVGFEPointLightElement_h
+#ifndef InlineVariablesIterator_h
+#define InlineVariablesIterator_h
-#include "core/svg/SVGFELightElement.h"
+#include "core/css/VariablesIterator.h"
namespace WebCore {
-class SVGFEPointLightElement FINAL : public SVGFELightElement {
+class Element;
+
+class InlineVariablesIterator : public AbstractVariablesIterator {
eseidel 2013/12/23 21:30:23 WebKit was historically very anti-comments. I (an
chrishtr 2013/12/23 22:06:46 Done.
public:
- static PassRefPtr<SVGFEPointLightElement> create(Document&);
+ static PassRefPtr<InlineVariablesIterator> create(Element*);
private:
- explicit SVGFEPointLightElement(Document&);
+ explicit InlineVariablesIterator(Element* element) : m_element(element) { }
+
+ virtual MutableStylePropertySet* propertySet() const OVERRIDE;
- virtual PassRefPtr<LightSource> lightSource() const;
+ RefPtr<Element> m_element;
};
} // namespace WebCore
-#endif
+#endif // InlineVariablesIterator_h

Powered by Google App Engine
This is Rietveld 408576698