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

Unified Diff: Source/core/loader/MixedContentChecker.h

Issue 596653006: Have MixedContentChecker and ProgressTracker keep a LocalFrame Member. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/loader/MixedContentChecker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/MixedContentChecker.h
diff --git a/Source/core/loader/MixedContentChecker.h b/Source/core/loader/MixedContentChecker.h
index 7a368a72f018db9500be03c2cf6c99cb89428bca..1c61615bcd3665aa7974feb1c190d91e8a8e4b2b 100644
--- a/Source/core/loader/MixedContentChecker.h
+++ b/Source/core/loader/MixedContentChecker.h
@@ -31,6 +31,7 @@
#ifndef MixedContentChecker_h
#define MixedContentChecker_h
+#include "platform/heap/Handle.h"
#include "public/platform/WebURLRequest.h"
#include "wtf/text/WTFString.h"
@@ -41,8 +42,9 @@ class LocalFrame;
class KURL;
class SecurityOrigin;
-class MixedContentChecker {
+class MixedContentChecker FINAL {
WTF_MAKE_NONCOPYABLE(MixedContentChecker);
+ DISALLOW_ALLOCATION();
public:
explicit MixedContentChecker(LocalFrame*);
@@ -65,6 +67,8 @@ public:
static void checkMixedPrivatePublic(LocalFrame*, const AtomicString& resourceIPAddress);
+ void trace(Visitor*);
+
private:
enum MixedContentType {
Display,
@@ -93,7 +97,7 @@ private:
void logWarning(bool allowed, const KURL& i, const MixedContentType) const;
- LocalFrame* m_frame;
+ RawPtrWillBeMember<LocalFrame> m_frame;
};
} // namespace blink
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/loader/MixedContentChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698