Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(476)

Side by Side Diff: Source/bindings/tests/results/core/UnionTypesCore.cpp

Issue 727523002: IDL: Use raw pointers instead of RawPtr<> for rvalue types (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
6 6
7 #include "config.h" 7 #include "config.h"
8 #include "bindings/core/v8/UnionTypesCore.h" 8 #include "bindings/core/v8/UnionTypesCore.h"
9 9
10 #include "bindings/core/v8/Dictionary.h" 10 #include "bindings/core/v8/Dictionary.h"
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 StringOrDouble impl; 528 StringOrDouble impl;
529 V8StringOrDouble::toImpl(isolate, value, impl, exceptionState); 529 V8StringOrDouble::toImpl(isolate, value, impl, exceptionState);
530 return impl; 530 return impl;
531 } 531 }
532 532
533 TestInterfaceGarbageCollectedOrString::TestInterfaceGarbageCollectedOrString() 533 TestInterfaceGarbageCollectedOrString::TestInterfaceGarbageCollectedOrString()
534 : m_type(SpecificTypeNone) 534 : m_type(SpecificTypeNone)
535 { 535 {
536 } 536 }
537 537
538 RawPtr<TestInterfaceGarbageCollected> TestInterfaceGarbageCollectedOrString::get AsTestInterfaceGarbageCollected() const 538 TestInterfaceGarbageCollected* TestInterfaceGarbageCollectedOrString::getAsTestI nterfaceGarbageCollected() const
539 { 539 {
540 ASSERT(isTestInterfaceGarbageCollected()); 540 ASSERT(isTestInterfaceGarbageCollected());
541 return m_testInterfaceGarbageCollected; 541 return m_testInterfaceGarbageCollected;
542 } 542 }
543 543
544 void TestInterfaceGarbageCollectedOrString::setTestInterfaceGarbageCollected(Raw Ptr<TestInterfaceGarbageCollected> value) 544 void TestInterfaceGarbageCollectedOrString::setTestInterfaceGarbageCollected(Tes tInterfaceGarbageCollected* value)
545 { 545 {
546 ASSERT(isNull()); 546 ASSERT(isNull());
547 m_testInterfaceGarbageCollected = value; 547 m_testInterfaceGarbageCollected = value;
548 m_type = SpecificTypeTestInterfaceGarbageCollected; 548 m_type = SpecificTypeTestInterfaceGarbageCollected;
549 } 549 }
550 550
551 String TestInterfaceGarbageCollectedOrString::getAsString() const 551 String TestInterfaceGarbageCollectedOrString::getAsString() const
552 { 552 {
553 ASSERT(isString()); 553 ASSERT(isString());
554 return m_string; 554 return m_string;
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 } 831 }
832 832
833 TestInterfaceWillBeGarbageCollectedOrTestDictionary NativeValueTraits<TestInterf aceWillBeGarbageCollectedOrTestDictionary>::nativeValue(const v8::Handle<v8::Val ue>& value, v8::Isolate* isolate, ExceptionState& exceptionState) 833 TestInterfaceWillBeGarbageCollectedOrTestDictionary NativeValueTraits<TestInterf aceWillBeGarbageCollectedOrTestDictionary>::nativeValue(const v8::Handle<v8::Val ue>& value, v8::Isolate* isolate, ExceptionState& exceptionState)
834 { 834 {
835 TestInterfaceWillBeGarbageCollectedOrTestDictionary impl; 835 TestInterfaceWillBeGarbageCollectedOrTestDictionary impl;
836 V8TestInterfaceWillBeGarbageCollectedOrTestDictionary::toImpl(isolate, value , impl, exceptionState); 836 V8TestInterfaceWillBeGarbageCollectedOrTestDictionary::toImpl(isolate, value , impl, exceptionState);
837 return impl; 837 return impl;
838 } 838 }
839 839
840 } // namespace blink 840 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/core/UnionTypesCore.h ('k') | Source/modules/beacon/NavigatorBeacon.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698