mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
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:
parent
fe383ac71b
commit
1e0c740db2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user