Init selection_text_offset_ in class constructor.


BUG=101342
TEST=git try --bot=linux_valgrind

Review URL: http://codereview.chromium.org/8383018

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107114 0039d316-1c4b-4281-b951-d872f2087c98
parent ecc52cfe
......@@ -327,6 +327,7 @@ RenderViewImpl::RenderViewImpl(gfx::NativeViewId parent_hwnd,
history_list_offset_(-1),
history_list_length_(0),
target_url_status_(TARGET_NONE),
selection_text_offset_(0),
cached_is_main_frame_pinned_to_left_(false),
cached_is_main_frame_pinned_to_right_(false),
cached_has_main_frame_horizontal_scrollbar_(false),
......
......@@ -4928,22 +4928,6 @@
fun:_ZN20NavigationController7LoadURLERK4GURLS2_N7content14PageTransitionERKSs
fun:_ZN7browser8NavigateEPNS_14NavigateParamsE
}
{
bug_101342
Memcheck:Cond
fun:_ZN14RenderViewImpl23SyncSelectionIfRequiredEv
fun:_ZN14RenderViewImpl18didChangeSelectionEb
fun:_ZN6WebKit16EditorClientImpl25respondToChangedSelectionEv
fun:_ZN7WebCore6Editor25respondToChangedSelectionERKNS_16VisibleSelectionE
fun:_ZN7WebCore6Editor25respondToChangedSelectionERKNS_16VisibleSelectionEj
fun:_ZN7WebCore14FrameSelection12setSelectionERKNS_16VisibleSelectionEjNS0_19CursorAlignOnScrollENS_15TextGranularityE
fun:_ZN7WebCore14FrameSelection12setSelectionERKNS_16VisibleSelectionENS_15TextGranularityE
fun:_ZN7WebCore14FrameSelection34setNonDirectionalSelectionIfNeededERKNS_16VisibleSelectionENS_15TextGranularityENS0_23EndPointsAdjustmentModeE
fun:_ZN7WebCore12EventHandler49updateSelectionForMouseDownDispatchingSelectStartEPNS_4NodeERKNS_16VisibleSelectionENS_15TextGranularityE
fun:_ZN7WebCore12EventHandler32handleMousePressEventSingleClickERKNS_28MouseEventWithHitTestResultsE
fun:_ZN7WebCore12EventHandler21handleMousePressEventERKNS_28MouseEventWithHitTestResultsE
fun:_ZN7WebCore12EventHandler21handleMousePressEventERKNS_18PlatformMouseEventE
}
{
bug_101345
Memcheck:Leak
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment