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

Side by Side Diff: Source/bindings/core/dart/DartScriptState.cpp

Issue 575883003: Fix more inspector compile errors from merge as well as a ScriptState compile error. (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/dartium
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 | Annotate | Revision Log
« no previous file with comments | « Source/bindings/core/dart/DartScriptDebugServer.cpp ('k') | no next file » | 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 PassRefPtr<AbstractScriptPromise> DartScriptState::createPromiseRejectedWithType Error(const String& message) 83 PassRefPtr<AbstractScriptPromise> DartScriptState::createPromiseRejectedWithType Error(const String& message)
84 { 84 {
85 RELEASE_ASSERT_NOT_REACHED(); 85 RELEASE_ASSERT_NOT_REACHED();
86 return nullptr; 86 return nullptr;
87 } 87 }
88 88
89 PassOwnPtr<AbstractScriptPromiseResolver> DartScriptState::createPromiseResolver (ScriptPromiseResolver*) 89 PassOwnPtr<AbstractScriptPromiseResolver> DartScriptState::createPromiseResolver (ScriptPromiseResolver*)
90 { 90 {
91 RELEASE_ASSERT_NOT_REACHED(); 91 RELEASE_ASSERT_NOT_REACHED();
92 return nullptr;
93 } 92 }
94 93
95 class DartScriptStateProtectingContext : public AbstractScriptStateProtectingCon text { 94 class DartScriptStateProtectingContext : public AbstractScriptStateProtectingCon text {
96 public: 95 public:
97 DartScriptStateProtectingContext(DartScriptState* scriptState) 96 DartScriptStateProtectingContext(DartScriptState* scriptState)
98 : m_scriptState(scriptState) 97 : m_scriptState(scriptState)
99 { 98 {
100 } 99 }
101 100
102 DartScriptState* get() const { return m_scriptState.get(); } 101 DartScriptState* get() const { return m_scriptState.get(); }
(...skipping 22 matching lines...) Expand all
125 124
126 #ifndef NDEBUG 125 #ifndef NDEBUG
127 void DartScriptState::assertPrimaryKeyValidOrInjectable(PassRefPtr<SharedBuffer> buffer, const Vector<blink::WebBlobInfo>* blobInfo, IDBKey* key, const IDBKeyPa th& keyPath) 126 void DartScriptState::assertPrimaryKeyValidOrInjectable(PassRefPtr<SharedBuffer> buffer, const Vector<blink::WebBlobInfo>* blobInfo, IDBKey* key, const IDBKeyPa th& keyPath)
128 { 127 {
129 // FIXMEDART: Implement without Dart<->V8 conversion. 128 // FIXMEDART: Implement without Dart<->V8 conversion.
130 return v8ScriptState()->assertPrimaryKeyValidOrInjectable(buffer, blobInfo, key, keyPath); 129 return v8ScriptState()->assertPrimaryKeyValidOrInjectable(buffer, blobInfo, key, keyPath);
131 } 130 }
132 #endif 131 #endif
133 132
134 } // namespace blink 133 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/core/dart/DartScriptDebugServer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698