Cleanup layoutDidGetCalled

- Don't clear the flag in FrameView::gatherDebugLayoutRects()
  because the paint invalidation step (which will clear the flag)
  will need it;
- Avoid layoutDidGetCalled from RenderBlock and RenderBlockFlow
  where is no layout actually. Change to use mayNeedPaintInvalidation
  instead.

BUG=361250

Review URL: https://codereview.chromium.org/621053002

git-svn-id: svn://svn.chromium.org/blink/trunk@183499 bbb929c8-8fbe-4397-9dbb-9b2b20218538