Bug 1320874 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in view/. r=mstange

MozReview-Commit-ID: G5BkqvHRhW7

--HG--
extra : rebase_source : 1a73b0b93fc995236faa3c1fcd5c1209ecbf0bcc
This commit is contained in:
Andi-Bogdan Postelnicu 2016-11-29 10:36:29 +02:00
parent fe383ac71b
commit 1e0c740db2

View File

@ -127,7 +127,7 @@ nsViewManager::CreateView(const nsRect& aBounds,
nsView* aParent,
nsViewVisibility aVisibilityFlag)
{
nsView *v = new nsView(this, aVisibilityFlag);
auto *v = new nsView(this, aVisibilityFlag);
v->SetParent(aParent);
v->SetPosition(aBounds.x, aBounds.y);
nsRect dim(0, 0, aBounds.width, aBounds.height);