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

Unified Diff: Source/core/timing/WindowPerformance.idl

Issue 910983005: Decouple performance() from LocalDOMWindow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
Index: Source/core/timing/WindowPerformance.idl
diff --git a/Source/core/html/canvas/WebGLSampler.idl b/Source/core/timing/WindowPerformance.idl
similarity index 55%
copy from Source/core/html/canvas/WebGLSampler.idl
copy to Source/core/timing/WindowPerformance.idl
index 565f3d6d97129db07ba3aa91d5be51dd8051608f..555b73128b7d9ecd4e579d614b76b416823fbbca 100644
--- a/Source/core/html/canvas/WebGLSampler.idl
+++ b/Source/core/timing/WindowPerformance.idl
@@ -3,7 +3,7 @@
// found in the LICENSE file.
[
- RuntimeEnabled=UnsafeES3APIs,
- WillBeGarbageCollected
-] interface WebGLSampler {
-};
+ ImplementedAs=DOMWindowPerformance,
jsbell 2015/02/12 20:09:06 Please add a comment with link to spec. e.g. http
+] partial interface Window {
+ [Replaceable] readonly attribute Performance performance;
+};

Powered by Google App Engine
This is Rietveld 408576698