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

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

Issue 717933002: Clean up after getPropertyCSSValue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase / fix debug compile? Created 6 years, 1 month 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/css/CSSValueList.idl ('k') | Source/core/css/Counter.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/Counter.h
diff --git a/Source/core/css/Counter.h b/Source/core/css/Counter.h
index a05cc6d52ceaabd9379a890e8cfe46683e4ce8b5..66bfa60450af76b0ca6dd0e5a84e40e813d8c2f6 100644
--- a/Source/core/css/Counter.h
+++ b/Source/core/css/Counter.h
@@ -21,14 +21,12 @@
#ifndef Counter_h
#define Counter_h
-#include "bindings/core/v8/ScriptWrappable.h"
#include "core/css/CSSPrimitiveValue.h"
#include "wtf/text/WTFString.h"
namespace blink {
-class Counter : public RefCountedWillBeGarbageCollected<Counter>, public ScriptWrappable {
- DEFINE_WRAPPERTYPEINFO();
+class Counter : public RefCountedWillBeGarbageCollected<Counter> {
public:
static PassRefPtrWillBeRawPtr<Counter> create(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> identifier, PassRefPtrWillBeRawPtr<CSSPrimitiveValue> listStyle, PassRefPtrWillBeRawPtr<CSSPrimitiveValue> separator)
{
@@ -52,13 +50,6 @@ public:
&& separator() == other.separator();
}
- PassRefPtrWillBeRawPtr<Counter> cloneForCSSOM() const
- {
- return create(m_identifier ? m_identifier->cloneForCSSOM() : nullptr
- , m_listStyle ? m_listStyle->cloneForCSSOM() : nullptr
- , m_separator ? m_separator->cloneForCSSOM() : nullptr);
- }
-
void trace(Visitor*);
private:
« no previous file with comments | « Source/core/css/CSSValueList.idl ('k') | Source/core/css/Counter.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698