Skip to content

Commit

Permalink
Move scrolling behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeshkova committed Mar 12, 2014
1 parent d224350 commit 90f8314
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dom/ipc/TabChild.h
Expand Up @@ -190,6 +190,7 @@ class TabChildBase : public nsFrameScriptExecutor,
nsRefPtr<TabChildGlobal> mTabChildGlobal;
ScreenIntSize mInnerSize;
mozilla::layers::FrameMetrics mLastRootMetrics;
mozilla::layout::ScrollingBehavior mScrolling;
};

class TabChild : public PBrowserChild,
Expand Down Expand Up @@ -535,7 +536,6 @@ class TabChild : public PBrowserChild,
nsAutoTArray<nsAutoPtr<CachedFileDescriptorInfo>, 1>
mCachedFileDescriptorInfos;
nscolor mLastBackgroundColor;
ScrollingBehavior mScrolling;
bool mDidFakeShow;
bool mNotified;
bool mTriedBrowserInit;
Expand Down
2 changes: 2 additions & 0 deletions embedding/embedlite/utils/TabChildHelper.cpp
Expand Up @@ -53,6 +53,8 @@ TabChildHelper::TabChildHelper(EmbedLiteViewThreadChild* aView)
{
LOGT();

mScrolling = mozilla::layout::ASYNC_PAN_ZOOM;

// Init default prefs
static bool sPrefInitialized = false;
if (!sPrefInitialized) {
Expand Down

0 comments on commit 90f8314

Please sign in to comment.