| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 switch (feature) { | 106 switch (feature) { |
| 107 case v8::Isolate::kUseAsm: | 107 case v8::Isolate::kUseAsm: |
| 108 blinkFeature = UseCounter::UseAsm; | 108 blinkFeature = UseCounter::UseAsm; |
| 109 break; | 109 break; |
| 110 case v8::Isolate::kBreakIterator: | 110 case v8::Isolate::kBreakIterator: |
| 111 blinkFeature = UseCounter::BreakIterator; | 111 blinkFeature = UseCounter::BreakIterator; |
| 112 break; | 112 break; |
| 113 case v8::Isolate::kLegacyConst: | 113 case v8::Isolate::kLegacyConst: |
| 114 blinkFeature = UseCounter::LegacyConst; | 114 blinkFeature = UseCounter::LegacyConst; |
| 115 break; | 115 break; |
| 116 case v8::Isolate::kObjectObserve: | |
| 117 blinkFeature = UseCounter::ObjectObserve; | |
| 118 deprecated = true; | |
| 119 break; | |
| 120 case v8::Isolate::kSloppyMode: | 116 case v8::Isolate::kSloppyMode: |
| 121 blinkFeature = UseCounter::V8SloppyMode; | 117 blinkFeature = UseCounter::V8SloppyMode; |
| 122 break; | 118 break; |
| 123 case v8::Isolate::kStrictMode: | 119 case v8::Isolate::kStrictMode: |
| 124 blinkFeature = UseCounter::V8StrictMode; | 120 blinkFeature = UseCounter::V8StrictMode; |
| 125 break; | 121 break; |
| 126 case v8::Isolate::kStrongMode: | 122 case v8::Isolate::kStrongMode: |
| 127 blinkFeature = UseCounter::V8StrongMode; | 123 blinkFeature = UseCounter::V8StrongMode; |
| 128 break; | 124 break; |
| 129 case v8::Isolate::kRegExpPrototypeStickyGetter: | 125 case v8::Isolate::kRegExpPrototypeStickyGetter: |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 | 375 |
| 380 void V8PerIsolateData::addActiveScriptWrappable(ActiveScriptWrappable* wrappable
) | 376 void V8PerIsolateData::addActiveScriptWrappable(ActiveScriptWrappable* wrappable
) |
| 381 { | 377 { |
| 382 if (!m_activeScriptWrappables) | 378 if (!m_activeScriptWrappables) |
| 383 m_activeScriptWrappables = new ActiveScriptWrappableSet(); | 379 m_activeScriptWrappables = new ActiveScriptWrappableSet(); |
| 384 | 380 |
| 385 m_activeScriptWrappables->add(wrappable); | 381 m_activeScriptWrappables->add(wrappable); |
| 386 } | 382 } |
| 387 | 383 |
| 388 } // namespace blink | 384 } // namespace blink |
| OLD | NEW |