| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Google Inc. All rights reserved. | 3 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 DEFINE_WRAPPERTYPEINFO(); | 48 DEFINE_WRAPPERTYPEINFO(); |
| 49 public: | 49 public: |
| 50 static WorkerConsole* create(WorkerGlobalScope* scope) | 50 static WorkerConsole* create(WorkerGlobalScope* scope) |
| 51 { | 51 { |
| 52 return new WorkerConsole(scope); | 52 return new WorkerConsole(scope); |
| 53 } | 53 } |
| 54 ~WorkerConsole() override; | 54 ~WorkerConsole() override; |
| 55 | 55 |
| 56 DECLARE_VIRTUAL_TRACE(); | 56 DECLARE_VIRTUAL_TRACE(); |
| 57 | 57 |
| 58 protected: | |
| 59 ExecutionContext* context() override; | |
| 60 void reportMessageToConsole(ConsoleMessage*) override; | 58 void reportMessageToConsole(ConsoleMessage*) override; |
| 61 | 59 |
| 62 private: | 60 private: |
| 63 explicit WorkerConsole(WorkerGlobalScope*); | 61 explicit WorkerConsole(WorkerGlobalScope*); |
| 64 | 62 |
| 65 Member<WorkerGlobalScope> m_scope; | 63 Member<WorkerGlobalScope> m_scope; |
| 66 }; | 64 }; |
| 67 | 65 |
| 68 } // namespace blink | 66 } // namespace blink |
| 69 | 67 |
| 70 #endif // WorkerConsole_h | 68 #endif // WorkerConsole_h |
| OLD | NEW |