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

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: rebase 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 82a2127165a7df514501a467bae9a8769c684644..efaa4f524acf01403eb60a5e9908e1c396591ecb 100644
--- a/third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.h
+++ b/third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.h
@@ -5,6 +5,7 @@
#ifndef CredentialsContainer_h
#define CredentialsContainer_h
+#include "modules/ModulesExport.h"
#include "platform/bindings/ScriptWrappable.h"
#include "platform/heap/Handle.h"
@@ -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