Index: modules/wake_lock/ScreenWakeLock.idl |
diff --git a/modules/webgl/WebGLSync.idl b/modules/wake_lock/ScreenWakeLock.idl |
similarity index 65% |
copy from modules/webgl/WebGLSync.idl |
copy to modules/wake_lock/ScreenWakeLock.idl |
index a401e20aa857447b84d5b6878d452cafca642fe5..38b8d262a3e28f639cdaf547495bcce1eb47f5bf 100644 |
--- a/modules/webgl/WebGLSync.idl |
+++ b/modules/wake_lock/ScreenWakeLock.idl |
@@ -2,8 +2,6 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-[ |
- RuntimeEnabled=UnsafeES3APIs, |
- WillBeGarbageCollected |
-] interface WebGLSync { |
-}; |
+[RuntimeEnabled=WakeLock] partial interface Screen { |
+ attribute boolean keepAwake; |
+}; |