electron/shell/browser
trop[bot] 6973af4f7a
fix: -Wunsafe-buffer-usage warnings in GdkPixbufFromSkBitmap() (#43980)
* fix: -Wunsafe-buffer-usage warnings in GdkPixbufFromSkBitmap()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: don't change previous behavior for 0-height images

Is a 0x0 image even a thing? I'm not sure; but just in case, let's
treat it the same way the previous implementation did.

Co-authored-by: Charles Kerr <charles@charleskerr.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2024-09-26 11:21:24 -05:00
..
api chore: bump chromium to 130.0.6723.6 (33-x-y) (#43453) 2024-09-26 11:12:12 +02:00
badging refactor: remove use of deprecated API BuildServiceInstanceFor() (#43707) 2024-09-13 15:26:10 -05:00
bluetooth chore: bump chromium to 130.0.6723.6 (33-x-y) (#43453) 2024-09-26 11:12:12 +02:00
extensions chore: bump chromium to 130.0.6723.6 (33-x-y) (#43453) 2024-09-26 11:12:12 +02:00
file_system_access refactor: remove use of deprecated API BuildServiceInstanceFor() (#43707) 2024-09-13 15:26:10 -05:00
hid chore: iwyu mojom-forward header files (33-x-y) (#43777) 2024-09-19 09:58:45 +02:00
lib chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
linux chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
mac chore: bump chromium to 129.0.6630.0 (main) (#43087) 2024-08-02 09:02:11 -05:00
media chore: iwyu mojom-forward header files (33-x-y) (#43777) 2024-09-19 09:58:45 +02:00
net chore: iwyu mojom-forward header files (33-x-y) (#43777) 2024-09-19 09:58:45 +02:00
notifications test: ensure sender-pid hint is set in Linux notifications (#43949) 2024-09-25 13:09:32 -05:00
osr refactor: remove C-style void arg type for no-arg functions (#43919) 2024-09-24 00:36:20 -07:00
plugins chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
printing fix: blank page when printing pdf (#43309) 2024-08-14 15:47:47 -04:00
resources
serial refactor: add SerialChooserController::web_contents_ (#43920) 2024-09-24 08:26:29 -05:00
ui fix: -Wunsafe-buffer-usage warnings in GdkPixbufFromSkBitmap() (#43980) 2024-09-26 11:21:24 -05:00
usb chore: iwyu mojom-forward header files (33-x-y) (#43777) 2024-09-19 09:58:45 +02:00
webauthn chore: add/fix interface comments for sections of methods (#42566) 2024-06-20 10:49:07 +02:00
win chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
animation_util.h feat: replace BrowserView with WebContentsView (#35658) 2023-12-13 13:01:03 -08:00
animation_util_mac.mm feat: replace BrowserView with WebContentsView (#35658) 2023-12-13 13:01:03 -08:00
auto_updater.cc chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
auto_updater.h chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
auto_updater_mac.mm chore: bump chromium to 120.0.6099.0 (main) (#40316) 2023-11-01 10:02:12 -04:00
background_throttling_source.h fix: disable background throttling also in the viz::DisplayScheduler (#38924) 2023-09-26 16:00:46 -04:00
browser.cc chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
browser.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
browser_linux.cc perf: prefer GURL string_view getters (#43471) 2024-08-23 20:58:59 -05:00
browser_mac.mm chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
browser_observer.h chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
browser_process_impl.cc chore: bump chromium to 129.0.6668.0 (main) (#43368) 2024-08-20 16:54:27 +02:00
browser_process_impl.h chore: bump chromium to 129.0.6668.0 (main) (#43368) 2024-08-20 16:54:27 +02:00
browser_win.cc perf: prefer GURL string_view getters (#43471) 2024-08-23 20:58:59 -05:00
certificate_manager_model.cc refactor: remove deprecated BrowserContext::ResourceContext (#41221) 2024-02-05 18:12:34 -06:00
certificate_manager_model.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
child_web_contents_tracker.cc
child_web_contents_tracker.h
cookie_change_notifier.cc chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
cookie_change_notifier.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
draggable_region_provider.h
electron_api_ipc_handler_impl.cc chore: remove deprecated ipcRenderer.sendTo() (#39087) 2023-08-28 10:29:27 -04:00
electron_api_ipc_handler_impl.h refactor: inherit Observer classes privately, pt. 2 (#42237) 2024-05-29 13:07:02 -05:00
electron_autofill_driver.cc feat: replace BrowserView with WebContentsView (#35658) 2023-12-13 13:01:03 -08:00
electron_autofill_driver.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
electron_autofill_driver_factory.cc chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
electron_autofill_driver_factory.h refactor: prefer to inherit observer classes privately (#41360) 2024-05-21 14:21:31 -05:00
electron_browser_client.cc chore: bump chromium to 130.0.6723.6 (33-x-y) (#43453) 2024-09-26 11:12:12 +02:00
electron_browser_client.h chore: bump chromium to 130.0.6723.6 (33-x-y) (#43453) 2024-09-26 11:12:12 +02:00
electron_browser_context.cc build: fix build when enable_pdf_viewer and enable_electron_extensions disabled (#43206) 2024-08-07 14:51:38 +02:00
electron_browser_context.h chore: iwyu mojom-forward header files (33-x-y) (#43777) 2024-09-19 09:58:45 +02:00
electron_browser_main_parts.cc chore: iwyu mojom-forward header files (33-x-y) (#43777) 2024-09-19 09:58:45 +02:00
electron_browser_main_parts.h chore: iwyu mojom-forward header files (33-x-y) (#43777) 2024-09-19 09:58:45 +02:00
electron_browser_main_parts_linux.cc refactor: move impl classes into unnamed namespaces (#42390) 2024-06-10 17:00:20 -05:00
electron_browser_main_parts_mac.mm chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
electron_browser_main_parts_posix.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_crypto_module_delegate_nss.cc refactor: reduce code duplication in gin_helper::Promise (33-x-y) (#43778) 2024-09-19 13:01:13 +02:00
electron_crypto_module_delegate_nss.h feat: Implement password delegate for NSS (#41205) 2024-07-17 09:48:03 -04:00
electron_download_manager_delegate.cc chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
electron_download_manager_delegate.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
electron_gpu_client.cc
electron_gpu_client.h
electron_navigation_throttle.cc chore: bump chromium to 127.0.6521.0 (main) (#42118) 2024-06-07 17:18:35 -04:00
electron_navigation_throttle.h chore: add/fix interface comments for sections of methods (#42566) 2024-06-20 10:49:07 +02:00
electron_pdf_document_helper_client.cc fix: ensure SetPluginCanSave updated in PDFs (#43686) 2024-09-11 17:56:23 +02:00
electron_pdf_document_helper_client.h fix: ensure SetPluginCanSave updated in PDFs (#43686) 2024-09-11 17:56:23 +02:00
electron_permission_manager.cc chore: bump chromium to 130.0.6723.6 (33-x-y) (#43453) 2024-09-26 11:12:12 +02:00
electron_permission_manager.h chore: bump chromium to 130.0.6723.6 (33-x-y) (#43453) 2024-09-26 11:12:12 +02:00
electron_plugin_info_host_impl.cc chore: bump chromium to 129.0.6650.0 (main) (#43266) 2024-08-12 10:28:33 +02:00
electron_plugin_info_host_impl.h chore: bump chromium to 129.0.6650.0 (main) (#43266) 2024-08-12 10:28:33 +02:00
electron_speech_recognition_manager_delegate.cc refactor: do not subclass ElectronSpeechRecognitionManagerDelegate from SpeechRecognitionEventListener (#42806) 2024-07-10 15:32:50 +02:00
electron_speech_recognition_manager_delegate.h refactor: do not subclass ElectronSpeechRecognitionManagerDelegate from SpeechRecognitionEventListener (#42806) 2024-07-10 15:32:50 +02:00
electron_web_contents_utility_handler_impl.cc chore: bump chromium to 125.0.6412.0 (main) (#41610) 2024-04-15 18:10:32 -04:00
electron_web_contents_utility_handler_impl.h refactor: inherit Observer classes privately, pt. 2 (#42237) 2024-05-29 13:07:02 -05:00
electron_web_ui_controller_factory.cc perf: prefer GURL string_view getters (#43471) 2024-08-23 20:58:59 -05:00
electron_web_ui_controller_factory.h
event_emitter_mixin.h chore: migrate base::StringPiece to std::string_view (#40915) 2024-01-10 19:00:37 -06:00
extended_web_contents_observer.h chore: iwyu mojom-forward header files (33-x-y) (#43777) 2024-09-19 09:58:45 +02:00
fake_location_provider.cc chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
fake_location_provider.h chore: bump chromium to 116.0.5845.0 (main) (#38827) 2023-06-22 10:51:15 +02:00
feature_list.cc feat: add support for system picker in setDisplayMediaRequestHandler (#43680) 2024-09-11 09:57:39 -07:00
feature_list.h feat: add support for system picker in setDisplayMediaRequestHandler (#43680) 2024-09-11 09:57:39 -07:00
feature_list_mac.mm feat: add support for system picker in setDisplayMediaRequestHandler (#43680) 2024-09-11 09:57:39 -07:00
file_select_helper.cc chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
file_select_helper.h chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
file_select_helper_mac.mm refactor: replace remaining NULL with nullptr (#40053) 2023-10-03 12:26:35 -07:00
font_defaults.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
font_defaults.h
javascript_environment.cc chore: bump chromium to 130.0.6723.6 (33-x-y) (#43453) 2024-09-26 11:12:12 +02:00
javascript_environment.h refactor: remove unused fields, methods in gin_helper::Locker (#39803) 2023-09-12 16:53:20 -07:00
login_handler.cc feat: support app#login event for utility process net requests (#42631) 2024-08-14 11:36:47 +09:00
login_handler.h feat: support app#login event for utility process net requests (#42631) 2024-08-14 11:36:47 +09:00
microtasks_runner.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
microtasks_runner.h
native_window.cc refactor: put empty virtual function definitions in header (#43285) 2024-08-12 09:56:51 +02:00
native_window.h chore: iwyu mojom-forward header files (33-x-y) (#43777) 2024-09-19 09:58:45 +02:00
native_window_features.cc chore: bump chromium to 127.0.6521.0 (main) (#42118) 2024-06-07 17:18:35 -04:00
native_window_features.h
native_window_mac.h chore: iwyu mojom-forward header files (33-x-y) (#43777) 2024-09-19 09:58:45 +02:00
native_window_mac.mm fix: close all open sheets before closing window on macOS (#43952) 2024-09-25 13:30:56 -05:00
native_window_observer.h
native_window_views.cc refactor: NativeWindow::Create() returns a unique_ptr (#43607) 2024-09-06 14:20:09 -05:00
native_window_views.h refactor: put empty virtual function definitions in header (#43285) 2024-08-12 09:56:51 +02:00
native_window_views_win.cc fix: system-context-menu with frameless BrowserWindows (#43243) 2024-08-09 10:08:01 +02:00
network_hints_handler_impl.cc chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
network_hints_handler_impl.h
protocol_registry.cc perf: prefer GURL string_view getters (#43471) 2024-08-23 20:58:59 -05:00
protocol_registry.h perf: prefer GURL string_view getters (#43471) 2024-08-23 20:58:59 -05:00
relauncher.cc chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
relauncher.h
relauncher_linux.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
relauncher_mac.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
relauncher_win.cc chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
session_preferences.cc
session_preferences.h
special_storage_policy.cc chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
special_storage_policy.h
web_contents_permission_helper.cc chore: bump chromium to 130.0.6723.6 (33-x-y) (#43453) 2024-09-26 11:12:12 +02:00
web_contents_permission_helper.h feat: implement File System API support (#41419) 2024-04-10 22:06:47 +02:00
web_contents_preferences.cc chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
web_contents_preferences.h refactor: remove unused web contents preferences methods (#42947) 2024-07-19 12:26:57 -05:00
web_contents_zoom_controller.cc perf: prefer GURL string_view getters (#43471) 2024-08-23 20:58:59 -05:00
web_contents_zoom_controller.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
web_contents_zoom_observer.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
web_view_guest_delegate.cc chore: bump chromium to 130.0.6723.6 (33-x-y) (#43453) 2024-09-26 11:12:12 +02:00
web_view_guest_delegate.h refactor: prefer to inherit observer classes privately (#41360) 2024-05-21 14:21:31 -05:00
web_view_manager.cc chore: bump chromium to 121.0.6147.0 (main) (#40523) 2023-11-28 13:40:12 -08:00
web_view_manager.h perf: use flat_set, flat_map for small, trivially-moved containers (#40817) 2024-01-05 12:18:31 +01:00
window_list.cc refactor: prefer std::ranges over begin() and end() (#43482) 2024-08-26 14:37:56 -04:00
window_list.h refactor: migrate deprecated LazyInstance code to NoDestructor (#40927) 2024-01-10 14:01:49 -06:00
window_list_observer.h refactor: remove WindowListObserver::OnWindowAdded() (#42979) 2024-07-22 10:44:08 +02:00
zoom_level_delegate.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
zoom_level_delegate.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00