| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 #include "V8MediaStream.h" | 54 #include "V8MediaStream.h" |
| 55 #include "modules/mediastream/MediaStream.h" | 55 #include "modules/mediastream/MediaStream.h" |
| 56 | 56 |
| 57 namespace WebCore { | 57 namespace WebCore { |
| 58 | 58 |
| 59 Dictionary::Dictionary() | 59 Dictionary::Dictionary() |
| 60 : m_isolate(0) | 60 : m_isolate(0) |
| 61 { | 61 { |
| 62 } | 62 } |
| 63 | 63 |
| 64 Dictionary::Dictionary(const v8::Local<v8::Value>& options, v8::Isolate* isolate
) | 64 Dictionary::Dictionary(const v8::Handle<v8::Value>& options, v8::Isolate* isolat
e) |
| 65 : m_options(options) | 65 : m_options(options) |
| 66 , m_isolate(isolate) | 66 , m_isolate(isolate) |
| 67 { | 67 { |
| 68 ASSERT(m_isolate); | 68 ASSERT(m_isolate); |
| 69 } | 69 } |
| 70 | 70 |
| 71 Dictionary::~Dictionary() | 71 Dictionary::~Dictionary() |
| 72 { | 72 { |
| 73 } | 73 } |
| 74 | 74 |
| (...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 592 if (!options->Has(key)) | 592 if (!options->Has(key)) |
| 593 continue; | 593 continue; |
| 594 V8TRYCATCH_FOR_V8STRINGRESOURCE_RETURN(V8StringResource<>, stringKey, ke
y, false); | 594 V8TRYCATCH_FOR_V8STRINGRESOURCE_RETURN(V8StringResource<>, stringKey, ke
y, false); |
| 595 names.append(stringKey); | 595 names.append(stringKey); |
| 596 } | 596 } |
| 597 | 597 |
| 598 return true; | 598 return true; |
| 599 } | 599 } |
| 600 | 600 |
| 601 } // namespace WebCore | 601 } // namespace WebCore |
| OLD | NEW |