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

Side by Side Diff: Source/bindings/core/v8/DictionaryHelperForCore.cpp

Issue 553993004: Oilpan: fix build after r181604. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 months 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
« no previous file with comments | « no previous file | Source/core/testing/DictionaryTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 struct DictionaryHelperTraits<Element> { 475 struct DictionaryHelperTraits<Element> {
476 typedef V8Element type; 476 typedef V8Element type;
477 }; 477 };
478 478
479 template bool DictionaryHelper::get(const Dictionary&, const String& key, RefPtr <Uint8Array>& value); 479 template bool DictionaryHelper::get(const Dictionary&, const String& key, RefPtr <Uint8Array>& value);
480 template bool DictionaryHelper::get(const Dictionary&, const String& key, RefPtr <ArrayBufferView>& value); 480 template bool DictionaryHelper::get(const Dictionary&, const String& key, RefPtr <ArrayBufferView>& value);
481 template bool DictionaryHelper::get(const Dictionary&, const String& key, RefPtr WillBeMember<MediaKeyError>& value); 481 template bool DictionaryHelper::get(const Dictionary&, const String& key, RefPtr WillBeMember<MediaKeyError>& value);
482 template bool DictionaryHelper::get(const Dictionary&, const String& key, RefPtr WillBeMember<DOMError>& value); 482 template bool DictionaryHelper::get(const Dictionary&, const String& key, RefPtr WillBeMember<DOMError>& value);
483 template bool DictionaryHelper::get(const Dictionary&, const String& key, RefPtr WillBeMember<Storage>& value); 483 template bool DictionaryHelper::get(const Dictionary&, const String& key, RefPtr WillBeMember<Storage>& value);
484 template bool DictionaryHelper::get(const Dictionary&, const String& key, RefPtr WillBeMember<Element>& value); 484 template bool DictionaryHelper::get(const Dictionary&, const String& key, RefPtr WillBeMember<Element>& value);
485 template bool DictionaryHelper::get(const Dictionary&, const String& key, RawPtr <Element>& value);
485 486
486 template <typename T> 487 template <typename T>
487 struct IntegralTypeTraits { 488 struct IntegralTypeTraits {
488 }; 489 };
489 490
490 template <> 491 template <>
491 struct IntegralTypeTraits<uint8_t> { 492 struct IntegralTypeTraits<uint8_t> {
492 static inline uint8_t toIntegral(v8::Handle<v8::Value> value, IntegerConvers ionConfiguration configuration, ExceptionState& exceptionState) 493 static inline uint8_t toIntegral(v8::Handle<v8::Value> value, IntegerConvers ionConfiguration configuration, ExceptionState& exceptionState)
493 { 494 {
494 return toUInt8(value, configuration, exceptionState); 495 return toUInt8(value, configuration, exceptionState);
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 Dictionary::ConversionContextScope scope(context); 653 Dictionary::ConversionContextScope scope(context);
653 654
654 v8::Local<v8::Value> v8Value; 655 v8::Local<v8::Value> v8Value;
655 if (!dictionary.get(key, v8Value)) 656 if (!dictionary.get(key, v8Value))
656 return true; 657 return true;
657 658
658 return DictionaryHelper::get(dictionary, key, value); 659 return DictionaryHelper::get(dictionary, key, value);
659 } 660 }
660 661
661 } // namespace blink 662 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | Source/core/testing/DictionaryTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698