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

Unified Diff: mojo/public/cpp/bindings/lib/wtf_string_serialization.cc

Issue 1753543002: PaymentRequest Mojo bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@interface
Patch Set: Created 4 years, 9 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 | « no previous file | third_party/WebKit/LayoutTests/payments/payment-request-interface.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/lib/wtf_string_serialization.cc
diff --git a/mojo/public/cpp/bindings/lib/wtf_string_serialization.cc b/mojo/public/cpp/bindings/lib/wtf_string_serialization.cc
index d1b749d210c01a709efce47dd5706de2074f8348..d0baaa939159cb89c4f11733d3b1e64e71670049 100644
--- a/mojo/public/cpp/bindings/lib/wtf_string_serialization.cc
+++ b/mojo/public/cpp/bindings/lib/wtf_string_serialization.cc
@@ -88,7 +88,8 @@ void Serialize_(const WTF::String& input,
DCHECK(!utf8_adaptors.empty());
#if DCHECK_IS_ON()
DCHECK_EQ(utf8_adaptors.front().original_input,
please use gerrit instead 2016/03/17 19:34:31 yzshen@: Why would this DCHECK? For context, here
yzshen1 2016/03/17 21:41:17 I will look into it. Would you please tell me the
- reinterpret_cast<uintptr_t>(&input));
+ reinterpret_cast<uintptr_t>(&input))
+ << " string:'" << input.utf8().data() << "'";
#endif
const WTF::StringUTF8Adaptor& adaptor = utf8_adaptors.front().utf8_adaptor;
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/payments/payment-request-interface.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698