Index: Source/core/css/FontFaceSet.cpp |
diff --git a/Source/core/css/FontFaceSet.cpp b/Source/core/css/FontFaceSet.cpp |
index 6c2ff8d0154a02c2b911dceecf7f496f4ebf01e5..9d95ea1e5fd0c62640aed5fe5112c32147212021 100644 |
--- a/Source/core/css/FontFaceSet.cpp |
+++ b/Source/core/css/FontFaceSet.cpp |
@@ -362,7 +362,7 @@ bool FontFaceSet::isCSSConnectedFontFace(FontFace* fontFace) const |
return cssConnectedFontFaceList().contains(fontFace); |
} |
-void FontFaceSet::forEach(PassOwnPtr<FontFaceSetForEachCallback> callback, ScriptValue& thisArg) const |
+void FontFaceSet::forEach(PassOwnPtr<FontFaceSetForEachCallback> callback, const ScriptValue& thisArg) const |
{ |
forEachInternal(callback, &thisArg); |
} |
@@ -372,7 +372,7 @@ void FontFaceSet::forEach(PassOwnPtr<FontFaceSetForEachCallback> callback) const |
forEachInternal(callback, 0); |
} |
-void FontFaceSet::forEachInternal(PassOwnPtr<FontFaceSetForEachCallback> callback, ScriptValue* thisArg) const |
+void FontFaceSet::forEachInternal(PassOwnPtr<FontFaceSetForEachCallback> callback, const ScriptValue* thisArg) const |
{ |
if (!inActiveDocumentContext()) |
return; |