Skip to content

Commit 9ffd0ea

Browse files
author
Anton Ivanov
committed
Remove spurious creation of sp<Choreographer>.
Bug: 393217449 Test: presubmit Flag: EXEMPT_refactor Change-Id: I7c9fe4881fdf2dd6065f1175f20bb93965d5103a
1 parent a3d7a6f commit 9ffd0ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libs/gui/Choreographer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ sp<Choreographer> Choreographer::getForThread() {
100100
return nullptr;
101101
}
102102
}
103-
return gChoreographer.get();
103+
return gChoreographer;
104104
}
105105

106106
Choreographer::Choreographer(const sp<Looper>& looper, const sp<IBinder>& layerHandle)

0 commit comments

Comments
 (0)