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

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

Issue 85263006: Make IDL Callbacks non-refcounted by default (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 7 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/bindings/v8/custom/V8MutationObserverCustom.cpp ('k') | Source/core/css/CSSVariablesMap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSVariablesMap.h
diff --git a/Source/core/css/CSSVariablesMap.h b/Source/core/css/CSSVariablesMap.h
index 8f1ef889ba9453f2044a89116d33e7293acbcc6e..ba8ec2b19b30fd7b44cde3a67a70543038c34e37 100644
--- a/Source/core/css/CSSVariablesMap.h
+++ b/Source/core/css/CSSVariablesMap.h
@@ -52,8 +52,8 @@ public:
void set(const AtomicString& name, const String& value, ExceptionState&);
bool remove(const AtomicString& name);
void clear(ExceptionState&);
- void forEach(PassRefPtr<CSSVariablesMapForEachCallback>, ScriptValue& thisArg) const;
- void forEach(PassRefPtr<CSSVariablesMapForEachCallback>) const;
+ void forEach(PassOwnPtr<CSSVariablesMapForEachCallback>, ScriptValue& thisArg) const;
+ void forEach(PassOwnPtr<CSSVariablesMapForEachCallback>) const;
void clearStyleDeclaration() { m_styleDeclaration = 0; }
@@ -64,7 +64,7 @@ private:
ASSERT(RuntimeEnabledFeatures::cssVariablesEnabled());
}
- void forEach(PassRefPtr<CSSVariablesMapForEachCallback>, ScriptValue* thisArg) const;
+ void forEach(PassOwnPtr<CSSVariablesMapForEachCallback>, ScriptValue* thisArg) const;
CSSStyleDeclaration* m_styleDeclaration;
typedef Vector<CSSVariablesIterator*> Iterators;
« no previous file with comments | « Source/bindings/v8/custom/V8MutationObserverCustom.cpp ('k') | Source/core/css/CSSVariablesMap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698