Index: Source/core/loader/FrameLoader.cpp |
diff --git a/Source/core/loader/FrameLoader.cpp b/Source/core/loader/FrameLoader.cpp |
index 4b3db84303fd77417009ede4fe373fbce15d4802..a23944a3385c7aa68c156e5a3a0ef5bee03302ad 100644 |
--- a/Source/core/loader/FrameLoader.cpp |
+++ b/Source/core/loader/FrameLoader.cpp |
@@ -102,17 +102,6 @@ bool isBackForwardLoadType(FrameLoadType type) |
return type == FrameLoadTypeBackForward; |
} |
-// This is not in the FrameLoader class to emphasize that it does not depend on |
-// private FrameLoader data, and to avoid increasing the number of public functions |
-// with access to private data. Since only this .cpp file needs it, making it |
-// non-member lets us exclude it from the header file, thus keeping core/loader/FrameLoader.h's |
-// API simpler. |
-// |
-static bool isDocumentSandboxed(Frame* frame, SandboxFlags mask) |
-{ |
- return frame->document() && frame->document()->isSandboxed(mask); |
-} |
- |
class FrameLoader::FrameProgressTracker { |
public: |
static PassOwnPtr<FrameProgressTracker> create(Frame* frame) { return adoptPtr(new FrameProgressTracker(frame)); } |