Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp

Issue 2126593002: Remove Object.observe UseCounter and deprecation warning (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/Deprecation.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/Deprecation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698