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

Unified Diff: ppapi/shared_impl/ppp_instance_combined.cc

Issue 174213003: PPAPI: Use clang-format on ppapi/shared_impl (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: remove DEPS Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/shared_impl/ppp_instance_combined.h ('k') | ppapi/shared_impl/proxy_lock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppp_instance_combined.cc
diff --git a/ppapi/shared_impl/ppp_instance_combined.cc b/ppapi/shared_impl/ppp_instance_combined.cc
index 5baaf12c12b11b92c901e19ed405bdfe7e3b7581..ffde05e7ca7829e799a973106e9c8bd152e6cadf 100644
--- a/ppapi/shared_impl/ppp_instance_combined.cc
+++ b/ppapi/shared_impl/ppp_instance_combined.cc
@@ -40,9 +40,7 @@ PPP_Instance_Combined::PPP_Instance_Combined(
PPP_Instance_Combined::PPP_Instance_Combined(
const PPP_Instance_1_1& instance_if)
- : instance_1_1_(instance_if),
- did_change_view_1_0_(NULL) {
-}
+ : instance_1_1_(instance_if), did_change_view_1_0_(NULL) {}
PP_Bool PPP_Instance_Combined::DidCreate(PP_Instance instance,
uint32_t argc,
@@ -60,9 +58,8 @@ void PPP_Instance_Combined::DidChangeView(PP_Instance instance,
const struct PP_Rect* position,
const struct PP_Rect* clip) {
if (instance_1_1_.DidChangeView) {
- CallWhileUnlocked(instance_1_1_.DidChangeView,
- instance,
- view_changed_resource);
+ CallWhileUnlocked(
+ instance_1_1_.DidChangeView, instance, view_changed_resource);
} else {
CallWhileUnlocked(did_change_view_1_0_, instance, position, clip);
}
@@ -75,10 +72,8 @@ void PPP_Instance_Combined::DidChangeFocus(PP_Instance instance,
PP_Bool PPP_Instance_Combined::HandleDocumentLoad(PP_Instance instance,
PP_Resource url_loader) {
- return CallWhileUnlocked(instance_1_1_.HandleDocumentLoad,
- instance,
- url_loader);
+ return CallWhileUnlocked(
+ instance_1_1_.HandleDocumentLoad, instance, url_loader);
}
} // namespace ppapi
-
« no previous file with comments | « ppapi/shared_impl/ppp_instance_combined.h ('k') | ppapi/shared_impl/proxy_lock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698