Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
#include "nsWidgetsCID.h"
|
||||
#include "nsDOMJSUtils.h"
|
||||
#include "nsIInterfaceRequestorUtils.h"
|
||||
#include "nsIView.h"
|
||||
#include "nsView.h"
|
||||
#include "nsIViewManager.h"
|
||||
#include "nsIScriptChannel.h"
|
||||
#include "nsIOfflineCacheUpdate.h"
|
||||
@@ -5127,7 +5127,7 @@ nsDocShell::GetVisibility(bool * aVisibility)
|
||||
NS_ENSURE_TRUE(vm, NS_ERROR_FAILURE);
|
||||
|
||||
// get the root view
|
||||
nsIView *view = vm->GetRootView(); // views are not ref counted
|
||||
nsView *view = vm->GetRootView(); // views are not ref counted
|
||||
NS_ENSURE_TRUE(view, NS_ERROR_FAILURE);
|
||||
|
||||
// if our root view is hidden, we are not visible
|
||||
@@ -7393,7 +7393,7 @@ nsDocShell::RestoreFromHistory()
|
||||
// new content viewer's root view at the same position. Also save the
|
||||
// bounds of the root view's widget.
|
||||
|
||||
nsIView *rootViewSibling = nullptr, *rootViewParent = nullptr;
|
||||
nsView *rootViewSibling = nullptr, *rootViewParent = nullptr;
|
||||
nsIntRect newBounds(0, 0, 0, 0);
|
||||
|
||||
nsCOMPtr<nsIPresShell> oldPresShell;
|
||||
@@ -7401,7 +7401,7 @@ nsDocShell::RestoreFromHistory()
|
||||
if (oldPresShell) {
|
||||
nsIViewManager *vm = oldPresShell->GetViewManager();
|
||||
if (vm) {
|
||||
nsIView *oldRootView = vm->GetRootView();
|
||||
nsView *oldRootView = vm->GetRootView();
|
||||
|
||||
if (oldRootView) {
|
||||
rootViewSibling = oldRootView->GetNextSibling();
|
||||
@@ -7622,7 +7622,7 @@ nsDocShell::RestoreFromHistory()
|
||||
nsDocShell::GetPresShell(getter_AddRefs(shell));
|
||||
|
||||
nsIViewManager *newVM = shell ? shell->GetViewManager() : nullptr;
|
||||
nsIView *newRootView = newVM ? newVM->GetRootView() : nullptr;
|
||||
nsView *newRootView = newVM ? newVM->GetRootView() : nullptr;
|
||||
|
||||
// Insert the new root view at the correct location in the view tree.
|
||||
if (container) {
|
||||
|
||||
Reference in New Issue
Block a user