Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: Source/web/WebLocalFrameImpl.cpp

Issue 318863002: s/scheduleLayerUpdate/setNeedsCompositingUpdate in setRemoteWebLayer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 if (!frame()) 541 if (!frame())
542 return; 542 return;
543 543
544 if (frame()->remotePlatformLayer()) 544 if (frame()->remotePlatformLayer())
545 GraphicsLayer::unregisterContentsLayer(frame()->remotePlatformLayer()); 545 GraphicsLayer::unregisterContentsLayer(frame()->remotePlatformLayer());
546 if (webLayer) 546 if (webLayer)
547 GraphicsLayer::registerContentsLayer(webLayer); 547 GraphicsLayer::registerContentsLayer(webLayer);
548 frame()->setRemotePlatformLayer(webLayer); 548 frame()->setRemotePlatformLayer(webLayer);
549 // FIXME: This should be moved to WebRemoteFrame. 549 // FIXME: This should be moved to WebRemoteFrame.
550 ASSERT(frame()->deprecatedLocalOwner()); 550 ASSERT(frame()->deprecatedLocalOwner());
551 frame()->deprecatedLocalOwner()->scheduleLayerUpdate(); 551 frame()->deprecatedLocalOwner()->setNeedsCompositingUpdate();
552 } 552 }
553 553
554 void WebLocalFrameImpl::setPermissionClient(WebPermissionClient* permissionClien t) 554 void WebLocalFrameImpl::setPermissionClient(WebPermissionClient* permissionClien t)
555 { 555 {
556 m_permissionClient = permissionClient; 556 m_permissionClient = permissionClient;
557 } 557 }
558 558
559 void WebLocalFrameImpl::setSharedWorkerRepositoryClient(WebSharedWorkerRepositor yClient* client) 559 void WebLocalFrameImpl::setSharedWorkerRepositoryClient(WebSharedWorkerRepositor yClient* client)
560 { 560 {
561 m_sharedWorkerRepositoryClient = SharedWorkerRepositoryClientImpl::create(cl ient); 561 m_sharedWorkerRepositoryClient = SharedWorkerRepositoryClientImpl::create(cl ient);
(...skipping 1353 matching lines...) Expand 10 before | Expand all | Expand 10 after
1915 1915
1916 void WebLocalFrameImpl::invalidateAll() const 1916 void WebLocalFrameImpl::invalidateAll() const
1917 { 1917 {
1918 ASSERT(frame() && frame()->view()); 1918 ASSERT(frame() && frame()->view());
1919 FrameView* view = frame()->view(); 1919 FrameView* view = frame()->view();
1920 view->invalidateRect(view->frameRect()); 1920 view->invalidateRect(view->frameRect());
1921 invalidateScrollbar(); 1921 invalidateScrollbar();
1922 } 1922 }
1923 1923
1924 } // namespace blink 1924 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698