Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e583c8c0130fb6d772e6385abef106e798d2d2ca
      
https://github.com/WebKit/WebKit/commit/e583c8c0130fb6d772e6385abef106e798d2d2ca
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2026-02-04 (Wed, 04 Feb 2026)

  Changed paths:
    M 
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/AcceleratedSurface.cpp
    M 
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphicsGLib.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp

  Log Message:
  -----------
  [CoordinatedGraphics] DrawingAreaCoordinatedGraphics::updatePreferences is 
called twice from WebPage constructor
https://bugs.webkit.org/show_bug.cgi?id=306862

Reviewed by Adrian Perez de Castro.

It's first called from WebPage::updateAfterDrawingAreaCreation() and then
from WebPage::updatePreferences(). The problem is that the first time,
the settings haven't been updated yet. This patch removes the first call
from updateAfterDrawingAreaCreation() to ensure the first time it's
called all settings have already been updated.

* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/AcceleratedSurface.cpp:
(WebKit::AcceleratedSurface::AcceleratedSurface):
(WebKit::AcceleratedSurface::SwapChain::SwapChain):
* 
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphicsGLib.cpp:
(WebKit::DrawingAreaCoordinatedGraphics::updatePreferences):
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updateAfterDrawingAreaCreation):
(WebKit::WebPage::reinitializeWebPage):

Canonical link: https://commits.webkit.org/306773@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to