OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
696 PassOwnPtr<V8BindingTestScope> V8BindingTestScope::create(v8::Isolate* isolate) | 696 PassOwnPtr<V8BindingTestScope> V8BindingTestScope::create(v8::Isolate* isolate) |
697 { | 697 { |
698 return adoptPtr(new V8BindingTestScope(isolate)); | 698 return adoptPtr(new V8BindingTestScope(isolate)); |
699 } | 699 } |
700 | 700 |
701 V8BindingTestScope::V8BindingTestScope(v8::Isolate* isolate) | 701 V8BindingTestScope::V8BindingTestScope(v8::Isolate* isolate) |
702 : m_handleScope(isolate) | 702 : m_handleScope(isolate) |
703 , m_context(v8::Context::New(isolate)) | 703 , m_context(v8::Context::New(isolate)) |
704 , m_contextScope(m_context) | 704 , m_contextScope(m_context) |
705 , m_world(DOMWrapperWorld::create()) | 705 , m_world(DOMWrapperWorld::create()) |
706 , m_perContextData(V8PerContextData::create(m_context, m_world.get())) | 706 , m_perContextData(V8PerContextData::create(m_context, m_world)) |
707 { | 707 { |
708 } | 708 } |
709 | 709 |
710 } // namespace WebCore | 710 } // namespace WebCore |
OLD | NEW |