Index: third_party/WebKit/Source/modules/payments/PaymentUpdater.h |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentUpdater.h b/third_party/WebKit/Source/modules/payments/PaymentUpdater.h |
index b71a2c3be600912b8d357b17a8ad01be9754cf00..3224b3e63d15b1c0e7ca1745f079efde983b1865 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentUpdater.h |
+++ b/third_party/WebKit/Source/modules/payments/PaymentUpdater.h |
@@ -7,6 +7,7 @@ |
#include "modules/ModulesExport.h" |
#include "platform/heap/GarbageCollected.h" |
+#include "wtf/text/WTFString.h" |
namespace blink { |
@@ -15,7 +16,7 @@ class ScriptValue; |
class MODULES_EXPORT PaymentUpdater : public GarbageCollectedMixin { |
public: |
virtual void onUpdatePaymentDetails(const ScriptValue& detailsScriptValue) = 0; |
- virtual void onUpdatePaymentDetailsFailure(const ScriptValue& error) = 0; |
+ virtual void onUpdatePaymentDetailsFailure(const String& error) = 0; |
protected: |
virtual ~PaymentUpdater() {} |