Index: Source/WebCore/storage/chromium/DatabaseTrackerChromium.cpp |
=================================================================== |
--- Source/WebCore/storage/chromium/DatabaseTrackerChromium.cpp (revision 96741) |
+++ Source/WebCore/storage/chromium/DatabaseTrackerChromium.cpp (working copy) |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright (C) 2010 Google Inc. All rights reserved. |
+ * Copyright (C) 2011 Google Inc. All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions are |
@@ -47,7 +47,7 @@ |
DatabaseTracker& DatabaseTracker::tracker() |
{ |
- DEFINE_STATIC_LOCAL(DatabaseTracker, tracker, ("")); |
+ AtomicallyInitializedStatic(DatabaseTracker&, tracker = *new DatabaseTracker("")); |
return tracker; |
} |