Index: Source/WebCore/storage/chromium/QuotaTracker.cpp |
=================================================================== |
--- Source/WebCore/storage/chromium/QuotaTracker.cpp (revision 96741) |
+++ Source/WebCore/storage/chromium/QuotaTracker.cpp (working copy) |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright (C) 2009 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 |
@@ -40,7 +40,7 @@ |
QuotaTracker& QuotaTracker::instance() |
{ |
- DEFINE_STATIC_LOCAL(QuotaTracker, tracker, ()); |
+ AtomicallyInitializedStatic(QuotaTracker&, tracker = *new QuotaTracker); |
return tracker; |
} |