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

Unified Diff: sky/engine/core/frame/DOMWindowBase64.cpp

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/engine/core/frame/DOMTimer.cpp ('k') | sky/engine/core/frame/FrameConsole.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/frame/DOMWindowBase64.cpp
diff --git a/sky/engine/core/frame/DOMWindowBase64.cpp b/sky/engine/core/frame/DOMWindowBase64.cpp
index 9f5480377efcbe55280161832bc4076dfea73c48..c10043f9cef2092c5ce8ad424dbc6b462d1c1585 100644
--- a/sky/engine/core/frame/DOMWindowBase64.cpp
+++ b/sky/engine/core/frame/DOMWindowBase64.cpp
@@ -33,7 +33,7 @@
#include "sky/engine/config.h"
#include "sky/engine/core/frame/DOMWindowBase64.h"
-#include "sky/engine/bindings/core/v8/ExceptionState.h"
+#include "sky/engine/bindings2/exception_state.h"
#include "sky/engine/core/dom/ExceptionCode.h"
#include "sky/engine/core/html/parser/HTMLParserIdioms.h"
#include "sky/engine/wtf/text/Base64.h"
@@ -46,7 +46,7 @@ String DOMWindowBase64::btoa(const String& stringToEncode, ExceptionState& excep
return String();
if (!stringToEncode.containsOnlyLatin1()) {
- exceptionState.throwDOMException(InvalidCharacterError, "The string to be encoded contains characters outside of the Latin1 range.");
+ exceptionState.ThrowDOMException(InvalidCharacterError, "The string to be encoded contains characters outside of the Latin1 range.");
return String();
}
@@ -59,12 +59,12 @@ String DOMWindowBase64::atob(const String& encodedString, ExceptionState& except
return String();
if (!encodedString.containsOnlyLatin1()) {
- exceptionState.throwDOMException(InvalidCharacterError, "The string to be decoded contains characters outside of the Latin1 range.");
+ exceptionState.ThrowDOMException(InvalidCharacterError, "The string to be decoded contains characters outside of the Latin1 range.");
return String();
}
Vector<char> out;
if (!base64Decode(encodedString, out, isHTMLSpace<UChar>, Base64ValidatePadding)) {
- exceptionState.throwDOMException(InvalidCharacterError, "The string to be decoded is not correctly encoded.");
+ exceptionState.ThrowDOMException(InvalidCharacterError, "The string to be decoded is not correctly encoded.");
return String();
}
« no previous file with comments | « sky/engine/core/frame/DOMTimer.cpp ('k') | sky/engine/core/frame/FrameConsole.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698