Bug 1317973 - Use auto type specifier for variable declarations to improve code readability and maintainability r=tnikkel
MozReview-Commit-ID: 5RDrGaxV3E4
This commit is contained in:
@@ -559,8 +559,7 @@ nsBaseDragService::DrawDrag(nsIDOMNode* aDOMNode,
|
||||
if (flo) {
|
||||
RefPtr<nsFrameLoader> fl = flo->GetFrameLoader();
|
||||
if (fl) {
|
||||
mozilla::dom::TabParent* tp =
|
||||
static_cast<mozilla::dom::TabParent*>(fl->GetRemoteBrowser());
|
||||
auto* tp = static_cast<mozilla::dom::TabParent*>(fl->GetRemoteBrowser());
|
||||
if (tp && tp->TakeDragVisualization(*aSurface, aScreenDragRect)) {
|
||||
if (mImage) {
|
||||
// Just clear the surface if chrome has overridden it with an image.
|
||||
|
||||
Reference in New Issue
Block a user