OLD | NEW |
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 "content/renderer/pepper/pepper_try_catch.h" | 5 #include "content/renderer/pepper/pepper_try_catch.h" |
6 | 6 |
7 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" | 7 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" |
8 #include "content/renderer/pepper/v8_var_converter.h" | 8 #include "content/renderer/pepper/v8_var_converter.h" |
9 #include "gin/converter.h" | 9 #include "gin/converter.h" |
10 #include "ppapi/shared_impl/ppapi_globals.h" | 10 #include "ppapi/shared_impl/ppapi_globals.h" |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 if (exception_is_set_) { | 139 if (exception_is_set_) { |
140 NOTREACHED(); | 140 NOTREACHED(); |
141 return; | 141 return; |
142 } | 142 } |
143 if (exception_) | 143 if (exception_) |
144 *exception_ = ppapi::StringVar::StringToPPVar(message, strlen(message)); | 144 *exception_ = ppapi::StringVar::StringToPPVar(message, strlen(message)); |
145 exception_is_set_ = true; | 145 exception_is_set_ = true; |
146 } | 146 } |
147 | 147 |
148 } // namespace content | 148 } // namespace content |
| 149 |
OLD | NEW |