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

Unified Diff: third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.h

Issue 2850813004: Add a nullptr check in blink::RequestCallbacks::onSuccess to fix crash. (Closed)
Patch Set: includes Created 3 years, 8 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: third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.h
diff --git a/third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.h b/third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.h
index 835de009d31fec3b62defc52db30cf714541cb45..1bf70505ecca29bb05af5700205cbaacdc2809d0 100644
--- a/third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.h
+++ b/third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.h
@@ -6,6 +6,7 @@
#define CredentialsContainer_h
#include "bindings/core/v8/ScriptWrappable.h"
+#include "modules/ModulesExport.h"
#include "platform/heap/Handle.h"
namespace blink {
@@ -15,7 +16,7 @@ class CredentialRequestOptions;
class ScriptPromise;
class ScriptState;
-class CredentialsContainer final
+class MODULES_EXPORT CredentialsContainer final
: public GarbageCollected<CredentialsContainer>,
public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();

Powered by Google App Engine
This is Rietveld 408576698