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

Side by Side Diff: sky/engine/bindings/exception_state.cc

Issue 1206763002: Really remove config.h (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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
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 #include "sky/engine/config.h"
6 #include "sky/engine/bindings/exception_state.h" 5 #include "sky/engine/bindings/exception_state.h"
7 6
8 namespace blink { 7 namespace blink {
9 8
10 ExceptionState::ExceptionState() : code_(0), had_exception_(false) { 9 ExceptionState::ExceptionState() : code_(0), had_exception_(false) {
11 } 10 }
12 11
13 ExceptionState::ExceptionState(Context context, 12 ExceptionState::ExceptionState(Context context,
14 const char* propertyName, 13 const char* propertyName,
15 const char* interfaceName) { 14 const char* interfaceName) {
(...skipping 23 matching lines...) Expand all
39 } 38 }
40 39
41 Dart_Handle ExceptionState::GetDartException(Dart_NativeArguments args, 40 Dart_Handle ExceptionState::GetDartException(Dart_NativeArguments args,
42 bool auto_scope) { 41 bool auto_scope) {
43 // TODO(abarth): Still don't understand autoscope. 42 // TODO(abarth): Still don't understand autoscope.
44 DCHECK(auto_scope); 43 DCHECK(auto_scope);
45 return exception_.Release(); 44 return exception_.Release();
46 } 45 }
47 46
48 } // namespace blink 47 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/bindings/exception_messages.cc ('k') | sky/engine/bindings/exception_state_placeholder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698