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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/TestPermissiveDictionary.cpp

Issue 2494973002: bindings: Stop using Nullable<T> in dictionary impl (Closed)
Patch Set: Comments Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/bindings/tests/results/core/TestPermissiveDictionary.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/tests/results/core/TestPermissiveDictionary.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/TestPermissiveDictionary.cpp b/third_party/WebKit/Source/bindings/tests/results/core/TestPermissiveDictionary.cpp
index 3801ef2193e6d466185ed4873dd5af2e0cd8fa82..3dc392a321d6c5005bc0186b601f219ce8a1bc9c 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/TestPermissiveDictionary.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/TestPermissiveDictionary.cpp
@@ -15,6 +15,18 @@ TestPermissiveDictionary::TestPermissiveDictionary() {
TestPermissiveDictionary::~TestPermissiveDictionary() {}
+bool TestPermissiveDictionary::hasBooleanMember() const {
+ return m_hasBooleanMember;
+}
+bool TestPermissiveDictionary::booleanMember() const {
+ DCHECK(m_hasBooleanMember);
+ return m_booleanMember;
+}
+void TestPermissiveDictionary::setBooleanMember(bool value) {
+ m_booleanMember = value;
+ m_hasBooleanMember = true;
+}
+
DEFINE_TRACE(TestPermissiveDictionary) {
IDLDictionaryBase::trace(visitor);
}
« no previous file with comments | « third_party/WebKit/Source/bindings/tests/results/core/TestPermissiveDictionary.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698