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

Unified Diff: Source/core/frame/DOMWindowBase64.cpp

Issue 171333003: Pass implementation object to supplemental classes by reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 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/frame/DOMWindowBase64.cpp
diff --git a/Source/core/frame/DOMWindowBase64.cpp b/Source/core/frame/DOMWindowBase64.cpp
index 2f43d507a7734917ebc143b517e977046fca3b5c..a5ba636bd2cb0182c8d8acb08f0a93cc9792bfb8 100644
--- a/Source/core/frame/DOMWindowBase64.cpp
+++ b/Source/core/frame/DOMWindowBase64.cpp
@@ -42,7 +42,7 @@ namespace WebCore {
namespace DOMWindowBase64 {
-String btoa(void*, const String& stringToEncode, ExceptionState& exceptionState)
+String btoa(ScriptWrappable&, const String& stringToEncode, ExceptionState& exceptionState)
{
if (stringToEncode.isNull())
return String();
@@ -55,7 +55,7 @@ String btoa(void*, const String& stringToEncode, ExceptionState& exceptionState)
return base64Encode(stringToEncode.latin1());
}
-String atob(void*, const String& encodedString, ExceptionState& exceptionState)
+String atob(ScriptWrappable&, const String& encodedString, ExceptionState& exceptionState)
{
if (encodedString.isNull())
return String();

Powered by Google App Engine
This is Rietveld 408576698