Chromium Code Reviews| Index: sky/framework/inspector/console-agent.sky |
| diff --git a/sky/framework/inspector/console-agent.sky b/sky/framework/inspector/console-agent.sky |
| index 58240d81eb768afdda1a44f1a369293fd2da1c19..8a0dcf60e5dad064bdcc51e622078cd78ae8575d 100644 |
| --- a/sky/framework/inspector/console-agent.sky |
| +++ b/sky/framework/inspector/console-agent.sky |
| @@ -1,12 +1,11 @@ |
| <script> |
| -function ConsoleAgent() { |
| +class ConsoleAgent { |
| + enable() { |
| + return { |
| + result: true, |
| + }; |
| + } |
| } |
| -ConsoleAgent.prototype.enable = function() { |
| - return { |
| - result: true, |
| - }; |
| -}; |
| - |
| module.exports = ConsoleAgent; |
| </script> |