Commit b54f3cd3 authored by mrowe@apple.com's avatar mrowe@apple.com

Fix the build.

* loader/CrossOriginAccessControl.cpp:
(WebCore::passesAccessControlCheck): Get rid of the exit-time destructor.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95903 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent d910c0d8
2011-09-23 Mark Rowe <mrowe@apple.com>
Fix the build.
* loader/CrossOriginAccessControl.cpp:
(WebCore::passesAccessControlCheck): Get rid of the exit-time destructor.
2011-09-23 Adam Barth <abarth@webkit.org> 2011-09-23 Adam Barth <abarth@webkit.org>
Canvas security checks show up on HTML5GamingTest benchmark Canvas security checks show up on HTML5GamingTest benchmark
...@@ -136,8 +136,8 @@ ResourceRequest createAccessControlPreflightRequest(const ResourceRequest& reque ...@@ -136,8 +136,8 @@ ResourceRequest createAccessControlPreflightRequest(const ResourceRequest& reque
bool passesAccessControlCheck(const ResourceResponse& response, StoredCredentials includeCredentials, SecurityOrigin* securityOrigin, String& errorDescription) bool passesAccessControlCheck(const ResourceResponse& response, StoredCredentials includeCredentials, SecurityOrigin* securityOrigin, String& errorDescription)
{ {
AtomicallyInitializedStatic(AtomicString, accessControlAllowOrigin = "access-control-allow-origin"); AtomicallyInitializedStatic(AtomicString&, accessControlAllowOrigin = *new AtomicString("access-control-allow-origin"));
AtomicallyInitializedStatic(AtomicString, accessControlAllowCredentials = "access-control-allow-credentials"); AtomicallyInitializedStatic(AtomicString&, accessControlAllowCredentials = *new AtomicString("access-control-allow-credentials"));
// A wildcard Access-Control-Allow-Origin can not be used if credentials are to be sent, // A wildcard Access-Control-Allow-Origin can not be used if credentials are to be sent,
// even with Access-Control-Allow-Credentials set to true. // even with Access-Control-Allow-Credentials set to true.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment