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

Unified Diff: sky/engine/bindings/core/v8/custom/V8ElementCustom.cpp

Issue 867903002: Remove UseCounter (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/bindings/core/v8/V8PerIsolateData.cpp ('k') | sky/engine/bindings/scripts/v8_interface.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/bindings/core/v8/custom/V8ElementCustom.cpp
diff --git a/sky/engine/bindings/core/v8/custom/V8ElementCustom.cpp b/sky/engine/bindings/core/v8/custom/V8ElementCustom.cpp
index 3093b8e1503fdd637807c59b79e3d3a2a9e9d53a..7d6f651dabe96f1552327e30200271752e2ab715 100644
--- a/sky/engine/bindings/core/v8/custom/V8ElementCustom.cpp
+++ b/sky/engine/bindings/core/v8/custom/V8ElementCustom.cpp
@@ -40,7 +40,6 @@
#include "sky/engine/bindings/core/v8/V8BindingMacros.h"
#include "sky/engine/core/animation/ElementAnimation.h"
#include "sky/engine/core/dom/Element.h"
-#include "sky/engine/core/frame/UseCounter.h"
#include "sky/engine/wtf/GetPtr.h"
namespace blink {
@@ -181,7 +180,6 @@ void V8Element::animateMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& i
// [MeasureAs=ElementAnimateKeyframeListEffectNoTiming]
// AnimationPlayer animate(sequence<Dictionary> effect);
if (info[0]->IsArray()) {
- UseCounter::count(callingExecutionContext(isolate), UseCounter::ElementAnimateKeyframeListEffectNoTiming);
animate2Method(info);
return;
}
@@ -212,14 +210,12 @@ void V8Element::animateMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& i
// [MeasureAs=ElementAnimateKeyframeListEffectObjectTiming]
// AnimationPlayer animate(sequence<Dictionary> effect, Dictionary timing);
if (info[0]->IsArray() && info[1]->IsObject()) {
- UseCounter::count(callingExecutionContext(isolate), UseCounter::ElementAnimateKeyframeListEffectObjectTiming);
animate6Method(info);
return;
}
// [MeasureAs=ElementAnimateKeyframeListEffectDoubleTiming]
// AnimationPlayer animate(sequence<Dictionary> effect, double timing);
if (info[0]->IsArray()) {
- UseCounter::count(callingExecutionContext(isolate), UseCounter::ElementAnimateKeyframeListEffectDoubleTiming);
animate5Method(info);
return;
}
« no previous file with comments | « sky/engine/bindings/core/v8/V8PerIsolateData.cpp ('k') | sky/engine/bindings/scripts/v8_interface.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698