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

Side by Side Diff: content/renderer/pepper/pepper_try_catch.cc

Issue 459553003: Replace NPObject usage in ppapi with gin (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
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 "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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698