Index: Source/platform/weborigin/SecurityPolicy.cpp |
diff --git a/Source/weborigin/SecurityPolicy.cpp b/Source/platform/weborigin/SecurityPolicy.cpp |
similarity index 95% |
rename from Source/weborigin/SecurityPolicy.cpp |
rename to Source/platform/weborigin/SecurityPolicy.cpp |
index 0dc274c6cb0983375affa30c98a263132d88ebc1..c552f4951672b8a3c507aa57124111a7dc7d33ed 100644 |
--- a/Source/weborigin/SecurityPolicy.cpp |
+++ b/Source/platform/weborigin/SecurityPolicy.cpp |
@@ -27,11 +27,11 @@ |
*/ |
#include "config.h" |
-#include "weborigin/SecurityPolicy.h" |
+#include "platform/weborigin/SecurityPolicy.h" |
-#include "weborigin/KURL.h" |
-#include "weborigin/OriginAccessEntry.h" |
-#include "weborigin/SecurityOrigin.h" |
+#include "platform/weborigin/KURL.h" |
+#include "platform/weborigin/OriginAccessEntry.h" |
+#include "platform/weborigin/SecurityOrigin.h" |
#include "wtf/MainThread.h" |
#include "wtf/OwnPtr.h" |
#include "wtf/PassOwnPtr.h" |
@@ -93,9 +93,9 @@ bool SecurityPolicy::isAccessWhiteListed(const SecurityOrigin* activeOrigin, con |
{ |
if (OriginAccessWhiteList* list = originAccessMap().get(activeOrigin->toString())) { |
for (size_t i = 0; i < list->size(); ++i) { |
- if (list->at(i).matchesOrigin(*targetOrigin)) |
- return true; |
- } |
+ if (list->at(i).matchesOrigin(*targetOrigin)) |
+ return true; |
+ } |
} |
return false; |
} |