Changeset 45564 in webkit
- Timestamp:
- Jul 6, 2009 1:55:28 PM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r45562 r45564 1 2009-07-06 Nate Chapin <japhet@chromium.org> 2 3 Reviewed by Dimitri Glazkov. 4 5 Fix a bunch of layout test crahses in Chromium caused by a bad usage of DEFINE_STATIC_LOCAL. 6 7 https://bugs.webkit.org/show_bug.cgi?id=26997 8 9 * bindings/v8/V8Binding.cpp: 10 (WebCore::v8ValueToWebCoreString): Use a regular static declaration instead of DEFINE_STATIC_LOCAL. 11 1 12 2009-07-06 Pavel Feldman <pfeldman@chromium.org> 2 13 -
trunk/WebCore/bindings/v8/V8Binding.cpp
r45559 r45564 39 39 40 40 #include <v8.h> 41 #include <wtf/StdLibExtras.h>42 41 43 42 namespace WebCore { … … 103 102 // Most numbers used are <= 100. Even if they aren't used there's very little in using the space. 104 103 const int kLowNumbers = 100; 105 DEFINE_STATIC_LOCAL(AtomicString*, lowNumbers, [kLowNumbers + 1]);104 static AtomicString lowNumbers[kLowNumbers + 1]; 106 105 String webCoreString; 107 106 if (0 <= value && value <= kLowNumbers) {
Note: See TracChangeset
for help on using the changeset viewer.